diff --git a/src/video/win32_v.cpp b/src/video/win32_v.cpp index 3e200cc415..8dcab88e9c 100644 --- a/src/video/win32_v.cpp +++ b/src/video/win32_v.cpp @@ -740,7 +740,7 @@ static void FindResolutions() uint j; for (j = 0; j < n; j++) { - if (_resolutions[j].width == dm.dmPelsWidth && _resolutions[j].height == dm.dmPelsHeight) break; + if (_resolutions[j].width == (int)dm.dmPelsWidth && _resolutions[j].height == (int)dm.dmPelsHeight) break; } /* In the previous loop we have checked already existing/added resolutions if