aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/scicore/resource.cpp
diff options
context:
space:
mode:
authorPaweł Kołodziejski2009-02-20 16:19:29 +0000
committerPaweł Kołodziejski2009-02-20 16:19:29 +0000
commit823d924064a11cb2f58df76451e2d038dc41220f (patch)
tree10842b43519cce4873067471ed08bb4b6837c155 /engines/sci/scicore/resource.cpp
parent5066e2c4be7cee089ae5c35b77a2b78015b83e42 (diff)
downloadscummvm-rg350-823d924064a11cb2f58df76451e2d038dc41220f.tar.gz
scummvm-rg350-823d924064a11cb2f58df76451e2d038dc41220f.tar.bz2
scummvm-rg350-823d924064a11cb2f58df76451e2d038dc41220f.zip
fixed compilation
svn-id: r38599
Diffstat (limited to 'engines/sci/scicore/resource.cpp')
-rw-r--r--engines/sci/scicore/resource.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/scicore/resource.cpp b/engines/sci/scicore/resource.cpp
index d6064abf25..45cb4a64a7 100644
--- a/engines/sci/scicore/resource.cpp
+++ b/engines/sci/scicore/resource.cpp
@@ -380,7 +380,7 @@ int scir_add_appropriate_sources(ResourceManager *mgr) {
for (Common::ArchiveMemberList::const_iterator x = files.begin(); x != files.end(); ++x) {
const Common::String name = (*x)->getName();
- char *dot = strrchr(name.c_str(), '.');
+ const char *dot = strrchr(name.c_str(), '.');
int number = atoi(dot + 1);
scir_add_volume(mgr, map, name.c_str(), number, 0);