From edf23305df765d4a8e35f3ca375566766fa251e4 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Thu, 12 Oct 2006 17:34:32 +0000 Subject: Shut up compiler warnings for setup. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 696 --- setup/display.c | 2 +- setup/keyboard.c | 2 +- setup/mouse.c | 2 +- setup/txt_keyinput.c | 1 + setup/txt_mouseinput.c | 1 + 5 files changed, 5 insertions(+), 3 deletions(-) (limited to 'setup') diff --git a/setup/display.c b/setup/display.c index 2672c7d8..7f19d040 100644 --- a/setup/display.c +++ b/setup/display.c @@ -41,7 +41,7 @@ static vidmode_t modes[] = { "960x720", 2, 3 }, { "1280x800", 1, 4 }, { "1280x960", 2, 4 }, - { NULL }, + { NULL, 0, 0 }, }; static int vidmode = 0; diff --git a/setup/keyboard.c b/setup/keyboard.c index 1c5f38ee..9f4990ba 100644 --- a/setup/keyboard.c +++ b/setup/keyboard.c @@ -44,7 +44,7 @@ static int *allkeys[] = {&key_left, &key_right, &key_up, &key_down, static void KeySetCallback(TXT_UNCAST_ARG(widget), TXT_UNCAST_ARG(variable)) { TXT_CAST_ARG(int, variable); - int i; + unsigned int i; for (i=0; i