Fixed a compiler warning on Visual Studio.