Fixed a couple of MSVC compiler warnings.