fix 64-bit warnings.
Merge pull request #1 from DenHeadless/master

Fix 64-bit warnings.