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