summaryrefslogtreecommitdiff
path: root/src/video
diff options
context:
space:
mode:
authorglx <glx@openttd.org>2008-06-16 20:16:43 +0000
committerglx <glx@openttd.org>2008-06-16 20:16:43 +0000
commit4782df757c80a19cd3c00d49a610206ebb5bfcab (patch)
tree32460bd1e0b5e6089a62e4933a8a8b581f89fd4b /src/video
parent0fff18b0446cd418506b167125ef9c9cb7b7f469 (diff)
downloadopenttd-4782df757c80a19cd3c00d49a610206ebb5bfcab.tar.xz
(svn r13539) -Fix (r13537): signed/unsigned warnings
Diffstat (limited to 'src/video')
-rw-r--r--src/video/win32_v.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video/win32_v.cpp b/src/video/win32_v.cpp
index 3e200cc41..8dcab88e9 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