Fixed warnings when compiling for 64-bit
Merge pull request #218 from triplef/master

Fixed warnings when compiling for 64-bit