Fixed a couple of warnings for 32bit Visual Studio