Fixed 2 warnings on MSVC