fix x64 arch warnings
Merge pull request #10 from WindRider7/master

Merging fixes for 64-bit warnings.