From 1b2892e921fc485f9280ffc445ef08b66f00a69e Mon Sep 17 00:00:00 2001 From: Andrei Prykhodko Date: Sat, 21 Jul 2018 13:48:23 +0300 Subject: PINK: fixed warning --- engines/pink/archive.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- cgit v1.2.3