fix MSVC compiler warning