diff options
author | Paweł Kołodziejski | 2005-02-12 14:16:17 +0000 |
---|---|---|
committer | Paweł Kołodziejski | 2005-02-12 14:16:17 +0000 |
commit | ce832686a086a320caf99624786612fe95744aad (patch) | |
tree | f7a827bd9a0da08105a065a265060aedec887741 | |
parent | 509d7b4d45b369814fd8d073afbeb7440d6194eb (diff) | |
download | scummvm-rg350-ce832686a086a320caf99624786612fe95744aad.tar.gz scummvm-rg350-ce832686a086a320caf99624786612fe95744aad.tar.bz2 scummvm-rg350-ce832686a086a320caf99624786612fe95744aad.zip |
fixed warning
svn-id: r16777
-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) |