aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Prykhodko2018-07-21 13:48:23 +0300
committerAndrei Prykhodko2018-07-21 13:48:23 +0300
commit1b2892e921fc485f9280ffc445ef08b66f00a69e (patch)
treeff6665fcd91cad02c448b6c0d7c3d007a3af67cc
parent359609353a246c7edd9dcc03ec857e8ad8020cfc (diff)
downloadscummvm-rg350-1b2892e921fc485f9280ffc445ef08b66f00a69e.tar.gz
scummvm-rg350-1b2892e921fc485f9280ffc445ef08b66f00a69e.tar.bz2
scummvm-rg350-1b2892e921fc485f9280ffc445ef08b66f00a69e.zip
PINK: fixed warning
-rw-r--r--engines/pink/archive.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/pink/archive.cpp b/engines/pink/archive.cpp
index c2f88f9263..5d67bc42f5 100644
--- a/engines/pink/archive.cpp
+++ b/engines/pink/archive.cpp
@@ -285,7 +285,7 @@ Object *Archive::parseObject(bool &isCopyReturned) {
}
static int runtimeClassCmp(const void *key, const void *elem) {
- return strcmp((const char *)key, *(const char **)elem);
+ return strcmp((const char *)key, *(const char * const *)elem);
}
uint Archive::findObjectId(const char *name) {