diff options
Diffstat (limited to 'src/gui/sdlinput.cpp')
-rw-r--r-- | src/gui/sdlinput.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/sdlinput.cpp b/src/gui/sdlinput.cpp index 0bc23a849..e863f0b2a 100644 --- a/src/gui/sdlinput.cpp +++ b/src/gui/sdlinput.cpp @@ -163,7 +163,7 @@ void SDLInput::pushInput(const SDL_Event &event) #ifdef ANDROID mouseInput.setReal(0, 0); #endif - mouseInput.setButton(-1); + mouseInput.setButton(static_cast<uint32_t>(-1)); if (y > 0) mouseInput.setType(MouseInput::WHEEL_MOVED_UP); else |