(svn r11111) -Fix (r11106): missing const broke compilation with MSVC

This commit is contained in:
glx 2007-09-15 00:49:44 +00:00
parent fbbba11e13
commit 1c998c6d92
1 changed files with 1 additions and 1 deletions

View File

@ -359,7 +359,7 @@ static uint ScanPath(const char *path, int basepath_length)
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;