(svn r24781) -Fix (r24762): [Win32] MinGW compiler warning.

This commit is contained in:
michi_cc 2012-12-03 22:08:00 +00:00
parent 5d74b679e6
commit 02f39ab1ee
1 changed files with 1 additions and 1 deletions

View File

@ -293,7 +293,7 @@ bool VideoDriver_Win32::MakeWindow(bool full_screen)
GetWindowRect(GetDesktopWindow(), &r);
/* Guard against recursion. If we already failed here once, just fall through to
* the next ChangeDisplaySettings call which will fail and error out appropriately. */
if (settings.dmPelsWidth != r.right - r.left || settings.dmPelsHeight != r.bottom - r.top) {
if ((int)settings.dmPelsWidth != r.right - r.left || (int)settings.dmPelsHeight != r.bottom - r.top) {
return this->ChangeResolution(r.right - r.left, r.bottom - r.top);
}
}