fix MSVC warnings
===VersionHistory:None===