diff options
Diffstat (limited to 'engines/pink')
-rw-r--r-- | engines/pink/file.cpp | 2 | ||||
-rw-r--r-- | engines/pink/resource_mgr.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/pink/file.cpp b/engines/pink/file.cpp index 7a760d1039..4a147454b0 100644 --- a/engines/pink/file.cpp +++ b/engines/pink/file.cpp @@ -97,7 +97,7 @@ void OrbFile::loadObject(Object *obj, ObjectDescription *objDesc) { } static int objDescComp(const void *a, const void *b) { - return scumm_stricmp((char *)a, (char *)b); + return scumm_stricmp((const char *)a, (const char *)b); } ObjectDescription *OrbFile::getObjDesc(const char *name) { diff --git a/engines/pink/resource_mgr.cpp b/engines/pink/resource_mgr.cpp index 65b6c00868..f9a24816be 100644 --- a/engines/pink/resource_mgr.cpp +++ b/engines/pink/resource_mgr.cpp @@ -62,7 +62,7 @@ Common::String ResourceMgr::loadText(Common::String &name) { } static int resDescComp(const void *a, const void *b) { - return scumm_stricmp((char *)a, (char *)b); + return scumm_stricmp((const char *)a, (const char *)b); } Common::SafeSeekableSubReadStream *ResourceMgr::getResourceStream(const Common::String &name) { |