From 7d238f61488d550b5bfbe5075b923723bb5d0cfb Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Sat, 19 Apr 2014 03:39:55 -0400 Subject: setup: Make iwad_t pointers const. The table of IWAD data is stored in const memory, so make all iwad_t pointers const to fix compiler warnings. --- src/setup/mode.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/setup/mode.h') diff --git a/src/setup/mode.h b/src/setup/mode.h index 2495775d..624abbfc 100644 --- a/src/setup/mode.h +++ b/src/setup/mode.h @@ -32,7 +32,7 @@ void SetupMission(GameSelectCallback callback); void InitBindings(void); char *GetExecutableName(void); char *GetGameTitle(void); -iwad_t **GetIwads(void); +const iwad_t **GetIwads(void); #endif /* #ifndef SETUP_MODE_H */ -- cgit v1.2.3