author | glx |
Mon, 16 Jun 2008 20:16:43 +0000 | |
changeset 10985 | ae131ef2cc8f |
parent 10984 | 05660d38d316 |
child 10986 | 02e4a6f13972 |
--- a/src/video/win32_v.cpp Mon Jun 16 20:08:30 2008 +0000 +++ b/src/video/win32_v.cpp Mon Jun 16 20:16:43 2008 +0000 @@ -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