Fixed a warning on Windows