# HG changeset patch # User glx # Date 1213647403 0 # Node ID ae131ef2cc8f1185f835acb3b474ff6f9bd2eeb9 # Parent 05660d38d3165dc5efb4c95e71cf07bde8d6e508 (svn r13539) -Fix (r13537): signed/unsigned warnings diff -r 05660d38d316 -r ae131ef2cc8f src/video/win32_v.cpp --- 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