From e49cf11275a1dffdb6b6573d2637e60f1e280cac Mon Sep 17 00:00:00 2001 From: Colin Snover Date: Fri, 18 Nov 2016 12:13:58 -0600 Subject: OPENGLSDL: Fix signed/unsigned comparison --- backends/graphics/openglsdl/openglsdl-graphics.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'backends/graphics/openglsdl') diff --git a/backends/graphics/openglsdl/openglsdl-graphics.cpp b/backends/graphics/openglsdl/openglsdl-graphics.cpp index 8f2ff1b9fa..860173a3c6 100644 --- a/backends/graphics/openglsdl/openglsdl-graphics.cpp +++ b/backends/graphics/openglsdl/openglsdl-graphics.cpp @@ -357,7 +357,7 @@ void OpenGLSdlGraphicsManager::notifyResize(const uint width, const uint height) // event is processed after recreating the window at the new resolution. int currentWidth, currentHeight; getWindowDimensions(¤tWidth, ¤tHeight); - if (width != currentWidth || height != currentHeight) + if (width != (uint)currentWidth || height != (uint)currentHeight) return; setActualScreenSize(width, height); _eventSource->resetKeyboardEmulation(width - 1, height - 1); -- cgit v1.2.3