author | glx |
Mon, 16 Jun 2008 20:16:43 +0000 | |
changeset 9535 | 0250b88672d7 |
parent 9534 | 088ad1af3261 |
child 9536 | f62058df57b3 |
--- 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