Correcting MSVC warning C4800