diff options
author | Simon Howard | 2007-10-18 23:54:11 +0000 |
---|---|---|
committer | Simon Howard | 2007-10-18 23:54:11 +0000 |
commit | e6e5868035eef3fe2db95b80f15a6fce6e5d5fe5 (patch) | |
tree | 4e4e171e638d2d6606f52cb0ba0c4982c9eaa012 /setup | |
parent | 7c2cc3e01f5c5384427773fc824fdd5eee1c0b23 (diff) | |
download | chocolate-doom-e6e5868035eef3fe2db95b80f15a6fce6e5d5fe5.tar.gz chocolate-doom-e6e5868035eef3fe2db95b80f15a6fce6e5d5fe5.tar.bz2 chocolate-doom-e6e5868035eef3fe2db95b80f15a6fce6e5d5fe5.zip |
Shut up signed / unsigned comparison warnings.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 978
Diffstat (limited to 'setup')
-rw-r--r-- | setup/joystick.c | 2 | ||||
-rw-r--r-- | setup/multiplayer.c | 4 |
2 files changed, 3 insertions, 3 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 diff --git a/setup/multiplayer.c b/setup/multiplayer.c index 5e35dbbc..94e3a8fa 100644 --- a/setup/multiplayer.c +++ b/setup/multiplayer.c @@ -111,7 +111,7 @@ static char *connect_address = NULL; static iwad_t *GetIWADForDescription(char *description) { - int i; + unsigned int i; for (i=0; i<arrlen(iwads); ++i) { @@ -396,7 +396,7 @@ static txt_widget_t *IWADSelector(void) txt_widget_t *result; int installed_iwads; int num_iwads; - int i; + unsigned int i; // Find out what WADs are installed |