author | glx |
Sat, 15 Sep 2007 00:49:44 +0000 | |
changeset 8082 | 15235b938558 |
parent 8081 | 392997d1f284 |
child 8083 | afe0c1088793 |
--- a/src/newgrf_config.cpp Fri Sep 14 23:46:49 2007 +0000 +++ b/src/newgrf_config.cpp Sat Sep 15 00:49:44 2007 +0000 @@ -359,7 +359,7 @@ bool FioTarFileListScanNewGRFCallback(const char *filename, int size, void *userdata) { uint *num = (uint *)userdata; - char *ext = strrchr(filename, '.'); + const char *ext = strrchr(filename, '.'); /* If no extension or extension isn't .grf, skip the file */ if (ext == NULL) return false;