Fix 32-bit compiler warning

This commit fixes issue #732.
Merge pull request #9 from otland/master

Fix 32-bit compiler warning