summaryrefslogtreecommitdiff
path: root/src/gui/sdlinput.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/sdlinput.cpp')
-rw-r--r--src/gui/sdlinput.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/sdlinput.cpp b/src/gui/sdlinput.cpp
index 59d964641..f1da58cbc 100644
--- a/src/gui/sdlinput.cpp
+++ b/src/gui/sdlinput.cpp
@@ -278,7 +278,7 @@ void SDLInput::pushInput(const SDL_Event &event)
* application loses its mousefocus.
*/
if ((event.active.state & SDL_APPMOUSEFOCUS) != 0 &&
- event.active.gain == 0u)
+ event.active.gain == 0U)
{
mMouseInWindow = false;
@@ -294,7 +294,7 @@ void SDLInput::pushInput(const SDL_Event &event)
}
if ((event.active.state & SDL_APPMOUSEFOCUS) != 0 &&
- event.active.gain != 0u)
+ event.active.gain != 0U)
{
mMouseInWindow = true;
}