fix conversion warning
Merge pull request #10 from kenodai/master

Compiler throws conversion warning