Browse Source

input: fix compilation warning.

undefined
Sam Hocevar 10 years ago
parent
commit
94f4df0c47
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/input/input.h

+ 1
- 1
src/input/input.h View File

@@ -18,7 +18,7 @@ const String g_name_mouse("Mouse");
const String g_name_keyboard("Keyboard"); const String g_name_keyboard("Keyboard");
static String g_name_joystick(const uint64_t num) static String g_name_joystick(const uint64_t num)
{ {
return String::Printf("Joystick%i", num);
return String::Printf("Joystick%d", (int)num);
} }


//Mouse default buttons/axis //Mouse default buttons/axis


Loading…
Cancel
Save