From 9326506e95b39059718ce02a72a58c43e6f89424 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Mon, 23 Oct 2006 17:59:51 +0000 Subject: Shut up compiler warnings. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 718 --- setup/mainmenu.c | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/setup/mainmenu.c b/setup/mainmenu.c index 9721c25e..23b9f6df 100644 --- a/setup/mainmenu.c +++ b/setup/mainmenu.c @@ -76,16 +76,24 @@ void MainMenu(void) window = TXT_NewWindow("Main Menu"); TXT_AddWidgets(window, - TXT_NewButton2("Configure display", ConfigDisplay, NULL), - TXT_NewButton2("Configure keyboard", ConfigKeyboard, NULL), - TXT_NewButton2("Configure mouse", ConfigMouse, NULL), - TXT_NewButton2("Configure sound", ConfigSound, NULL), - TXT_NewButton2("Compatibility", CompatibilitySettings, NULL), + TXT_NewButton2("Configure display", + (TxtWidgetSignalFunc) ConfigDisplay, NULL), + TXT_NewButton2("Configure keyboard", + (TxtWidgetSignalFunc) ConfigKeyboard, NULL), + TXT_NewButton2("Configure mouse", + (TxtWidgetSignalFunc) ConfigMouse, NULL), + TXT_NewButton2("Configure sound", + (TxtWidgetSignalFunc) ConfigSound, NULL), + TXT_NewButton2("Compatibility", + (TxtWidgetSignalFunc) CompatibilitySettings, NULL), TXT_NewButton("Save parameters and launch DOOM"), TXT_NewStrut(0, 1), - TXT_NewButton2("Start a Network game", StartMultiGame, NULL), - TXT_NewButton2("Join a Network game", JoinMultiGame, NULL), - TXT_NewButton2("Multiplayer configuration", MultiplayerConfig, NULL), + TXT_NewButton2("Start a Network game", + (TxtWidgetSignalFunc) StartMultiGame, NULL), + TXT_NewButton2("Join a Network game", + (TxtWidgetSignalFunc) JoinMultiGame, NULL), + TXT_NewButton2("Multiplayer configuration", + (TxtWidgetSignalFunc) MultiplayerConfig, NULL), NULL); quit_action = TXT_NewWindowAction(KEY_ESCAPE, "Quit"); -- cgit v1.2.3