diff options
author | michi_cc <michi_cc@openttd.org> | 2012-12-03 22:08:00 +0000 |
---|---|---|
committer | michi_cc <michi_cc@openttd.org> | 2012-12-03 22:08:00 +0000 |
commit | 02f39ab1ee40a5f90dc1c6b5acb11a81d0fb8ba7 (patch) | |
tree | 686cfe6964193d271894b916938a3ad80133cac7 /src | |
parent | 5d74b679e6fdaf1732843056e36f91a221443689 (diff) | |
download | openttd-02f39ab1ee40a5f90dc1c6b5acb11a81d0fb8ba7.tar.xz |
(svn r24781) -Fix (r24762): [Win32] MinGW compiler warning.
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); } } |