summaryrefslogtreecommitdiff
path: root/settings_gui.c
diff options
context:
space:
mode:
Diffstat (limited to 'settings_gui.c')
-rw-r--r--settings_gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings_gui.c b/settings_gui.c
index b53f5e3a5..3f6b520d2 100644
--- a/settings_gui.c
+++ b/settings_gui.c
@@ -1277,7 +1277,7 @@ void ShowNewgrf(void)
{ // little helper function to calculate _grffile_count
// should be REMOVED once _grffile_count is calculated at loading
- GRFFile *c = _first_grffile;
+ const GRFFile* c = _first_grffile;
_grffile_count = 0;
while (c != NULL) {