From b816849c7898085e543a672fa9c0a657246afd62 Mon Sep 17 00:00:00 2001 From: Alejandro Marzini Date: Sun, 1 Aug 2010 20:49:13 +0000 Subject: Fix warnings. svn-id: r51592 --- backends/graphics/opengl/opengl-graphics.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backends/graphics/opengl/opengl-graphics.cpp b/backends/graphics/opengl/opengl-graphics.cpp index 60eae8b7ea..206823adb0 100644 --- a/backends/graphics/opengl/opengl-graphics.cpp +++ b/backends/graphics/opengl/opengl-graphics.cpp @@ -817,7 +817,7 @@ void OpenGLGraphicsManager::refreshCursorScale() { uint screenScaleFactor = MIN(_videoMode.hardwareWidth * 10000 / _videoMode.screenWidth, _videoMode.hardwareHeight * 10000 / _videoMode.screenHeight); - if (_cursorTargetScale * 10000 >= screenScaleFactor && _videoMode.scaleFactor * 10000 >= screenScaleFactor) { + if ((uint)_cursorTargetScale * 10000 >= screenScaleFactor && (uint)_videoMode.scaleFactor * 10000 >= screenScaleFactor) { // If the cursor target scale and the video mode scale factor are bigger than // the current window scale, do not scale the cursor for the overlay _cursorState.rW = _cursorState.w; -- cgit v1.2.3