diff --git a/src/setup/mode.c b/src/setup/mode.c index f8efdd71..350aedd8 100644 --- a/src/setup/mode.c +++ b/src/setup/mode.c @@ -182,7 +182,7 @@ static void OpenGameSelectDialog(GameSelectCallback callback) ++num_games; } - free(iwads); + free((void *)iwads); } TXT_AddWidget(window, TXT_NewStrut(0, 1));