changeset 9535:bacc4ca0dd38 draft

(svn r13539) -Fix (r13537): signed/unsigned warnings
author glx <glx@openttd.org>
date Mon, 16 Jun 2008 20:16:43 +0000
parents 564d5fd5a247
children 97eb19d098f6
files src/video/win32_v.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/video/win32_v.cpp
+++ b/src/video/win32_v.cpp
@@ -740,7 +740,7 @@
 			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