Fixed cast warning causing 64-bit Windows vcproj build stop."
Merge pull request #116 from SharpCoiner/develop

Fixed cast warning causing 64-bit Windows vcproj build stop.