Reduce compile time warning
add comment
Merge pull request #837 from zhaihj/reduceWarning

Reduce warning in c sources