diff options
-rw-r--r-- | scumm/scumm.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/scumm.cpp b/scumm/scumm.cpp index 4848deb110..0d68fa3b0a 100644 --- a/scumm/scumm.cpp +++ b/scumm/scumm.cpp @@ -2783,7 +2783,7 @@ static int generateSubstResFileName_(const char *filename, char *buf, int bufsiz if (num == ')') num = filename[strlen(filename) - 2]; - char *ext = strrchr(filename, '.'); + const char *ext = strrchr(filename, '.'); int len = ext - filename; if (index > 0) |