Removed integer type size related warnings under Visual Studio 2010

Fixed warnings when compiling in 32 and 64 bits mode in Visual Studio 2010