Fixed a MSVC warning.
Hopefully fixed repeated clang warnings.