[Scummvm-git-logs] scummvm master -> 1b2892e921fc485f9280ffc445ef08b66f00a69e

whiterandrek whiterandrek at gmail.com
Sat Jul 21 12:48:34 CEST 2018


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
1b2892e921 PINK: fixed warning


Commit: 1b2892e921fc485f9280ffc445ef08b66f00a69e
    https://github.com/scummvm/scummvm/commit/1b2892e921fc485f9280ffc445ef08b66f00a69e
Author: Andrei Prykhodko (whiterandrek at gmail.com)
Date: 2018-07-21T13:48:23+03:00

Commit Message:
PINK: fixed warning

Changed paths:
    engines/pink/archive.cpp


diff --git a/engines/pink/archive.cpp b/engines/pink/archive.cpp
index c2f88f9..5d67bc4 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) {





More information about the Scummvm-git-logs mailing list