MSVC warning fix