author | glx |
Sat, 15 Sep 2007 00:49:44 +0000 | |
changeset 7586 | efc1a25de95e |
parent 7585 | c8dde88402a8 |
child 7587 | 93cca69eccdf |
--- 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;