Resolved MSVC compiler warnings