in W4 on Visual Studio, these minor explicit type conversions prevents warnings from being generated.