Fixed compiler warning on Visual Studio