resolve warnings with clang
Merge pull request #24 from tojocky/master

resolve warnings with clang