summaryrefslogtreecommitdiff
path: root/setup/joystick.c
diff options
context:
space:
mode:
Diffstat (limited to 'setup/joystick.c')
-rw-r--r--setup/joystick.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup/joystick.c b/setup/joystick.c
index ceea9603..66709242 100644
--- a/setup/joystick.c
+++ b/setup/joystick.c
@@ -317,7 +317,7 @@ static void CalibrateJoystick(TXT_UNCAST_ARG(widget), TXT_UNCAST_ARG(unused))
void JoyButtonSetCallback(TXT_UNCAST_ARG(widget), TXT_UNCAST_ARG(variable))
{
TXT_CAST_ARG(int, variable);
- int i;
+ unsigned int i;
// Only allow a button to be bound to one action at a time. If
// we assign a key that another action is using, set that other action