From 94f4df0c479944d5e1ad12d43e11827749198eb1 Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Thu, 9 Oct 2014 05:19:26 +0000 Subject: [PATCH] input: fix compilation warning. --- src/input/input.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/input/input.h b/src/input/input.h index b6774f81..1b9cad00 100644 --- a/src/input/input.h +++ b/src/input/input.h @@ -18,7 +18,7 @@ const String g_name_mouse("Mouse"); const String g_name_keyboard("Keyboard"); 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