fix clang -Wall warnings
Merge pull request #109 from cgzones/clang-warnings

fix clang -Wall warnings