diff options
author | Alejandro Marzini | 2010-08-01 20:49:13 +0000 |
---|---|---|
committer | Alejandro Marzini | 2010-08-01 20:49:13 +0000 |
commit | b816849c7898085e543a672fa9c0a657246afd62 (patch) | |
tree | 0814ac94dd34327b6a337ed9ed81232dd17e13e3 /backends/graphics/opengl/opengl-graphics.cpp | |
parent | ce271697eacd21b285525d3d899e000e143b2d00 (diff) | |
download | scummvm-rg350-b816849c7898085e543a672fa9c0a657246afd62.tar.gz scummvm-rg350-b816849c7898085e543a672fa9c0a657246afd62.tar.bz2 scummvm-rg350-b816849c7898085e543a672fa9c0a657246afd62.zip |
Fix warnings.
svn-id: r51592
Diffstat (limited to 'backends/graphics/opengl/opengl-graphics.cpp')
-rw-r--r-- | backends/graphics/opengl/opengl-graphics.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; |