fix warnings on Win32 VS2013