summaryrefslogtreecommitdiff
path: root/src/gui/sdlinput.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-04-30 19:52:16 +0300
committerAndrei Karas <akaras@inbox.ru>2014-04-30 19:52:16 +0300
commit88c6a0aa757df0ec38bc67f2cf314f8be3efd0ce (patch)
treeb35a28cd317e2895c063749180b98edfe223c032 /src/gui/sdlinput.cpp
parentc24fefa91a1416a4dad7fd97d67cefa51f9eb97c (diff)
downloadmv-88c6a0aa757df0ec38bc67f2cf314f8be3efd0ce.tar.gz
mv-88c6a0aa757df0ec38bc67f2cf314f8be3efd0ce.tar.bz2
mv-88c6a0aa757df0ec38bc67f2cf314f8be3efd0ce.tar.xz
mv-88c6a0aa757df0ec38bc67f2cf314f8be3efd0ce.zip
Fix code style in gui.
Diffstat (limited to 'src/gui/sdlinput.cpp')
-rw-r--r--src/gui/sdlinput.cpp2
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