From c2efedab22275302f0a10cc197424d345a021d18 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 17 Jun 2012 20:13:48 +0300 Subject: Replace SDL int types to C++ types. --- src/joystick.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/joystick.cpp') diff --git a/src/joystick.cpp b/src/joystick.cpp index cb3fa7fe1..86279c99d 100644 --- a/src/joystick.cpp +++ b/src/joystick.cpp @@ -180,7 +180,7 @@ void Joystick::logic() if (!mDirection && mHaveHats) { // reading only hat 0 - Uint8 hat = SDL_JoystickGetHat(mJoystick, 0); + uint8_t hat = SDL_JoystickGetHat(mJoystick, 0); if (hat & SDL_HAT_RIGHT) mDirection |= RIGHT; else if (hat & SDL_HAT_LEFT) -- cgit v1.2.3-70-g09d2