From 97760ff10135274c4487ade5fcc999e46a237c16 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Wed, 15 Feb 2012 01:48:33 +0100 Subject: OPENGLSDL: Don't cast EventType into int for switch. --- backends/graphics/openglsdl/openglsdl-graphics.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backends/graphics/openglsdl/openglsdl-graphics.cpp b/backends/graphics/openglsdl/openglsdl-graphics.cpp index f2b3168e36..4154b6731b 100644 --- a/backends/graphics/openglsdl/openglsdl-graphics.cpp +++ b/backends/graphics/openglsdl/openglsdl-graphics.cpp @@ -486,7 +486,7 @@ void OpenGLSdlGraphicsManager::toggleFullScreen(int loop) { } bool OpenGLSdlGraphicsManager::notifyEvent(const Common::Event &event) { - switch ((int)event.type) { + switch (event.type) { case Common::EVENT_KEYDOWN: if (event.kbd.hasFlags(Common::KBD_ALT)) { // Alt-Return and Alt-Enter toggle full screen mode -- cgit v1.2.3