diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/video/win32_v.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video/win32_v.cpp b/src/video/win32_v.cpp index 6fb8a6b9d..2caa839fa 100644 --- a/src/video/win32_v.cpp +++ b/src/video/win32_v.cpp @@ -293,7 +293,7 @@ bool VideoDriver_Win32::MakeWindow(bool full_screen) GetWindowRect(GetDesktopWindow(), &r); /* Guard against recursion. If we already failed here once, just fall through to * the next ChangeDisplaySettings call which will fail and error out appropriately. */ - if (settings.dmPelsWidth != r.right - r.left || settings.dmPelsHeight != r.bottom - r.top) { + if ((int)settings.dmPelsWidth != r.right - r.left || (int)settings.dmPelsHeight != r.bottom - r.top) { return this->ChangeResolution(r.right - r.left, r.bottom - r.top); } } |