B-0 removed Visual Studio 2010 typecast warnings

B-0 fixed a couple of more warnings found compiling in 32 & 64 bits mode