fixed warnings about conversion
Merge pull request #1 from jcavar/master

fixed warnings about conversion