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
commit8578181a3a67c8e986398bbe9491a1751da7ae51 (patch)
tree32460bd1e0b5e6089a62e4933a8a8b581f89fd4b /src/video
parente04e2822b8ff73af839b92d59215bc7e8f49e004 (diff)
downloadopenttd-8578181a3a67c8e986398bbe9491a1751da7ae51.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