fix implicit conversion warning
Merge pull request #1 from paulz/master

fix implicit conversion warning