[Scummvm-git-logs] scummvm master -> 416c25c87c6ef75113f8d8ad2c5f2a57d10c4eed
dreammaster
dreammaster at scummvm.org
Mon Jul 12 03:21:33 UTC 2021
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:
416c25c87c AGS: Further gcc warning fix
Commit: 416c25c87c6ef75113f8d8ad2c5f2a57d10c4eed
https://github.com/scummvm/scummvm/commit/416c25c87c6ef75113f8d8ad2c5f2a57d10c4eed
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2021-07-11T20:21:25-07:00
Commit Message:
AGS: Further gcc warning fix
Changed paths:
engines/ags/lib/allegro/unicode.cpp
diff --git a/engines/ags/lib/allegro/unicode.cpp b/engines/ags/lib/allegro/unicode.cpp
index fe70ffcdef..b1537585aa 100644
--- a/engines/ags/lib/allegro/unicode.cpp
+++ b/engines/ags/lib/allegro/unicode.cpp
@@ -1177,7 +1177,7 @@ const char *ustrstr(const char *s1, const char *s2) {
len = ustrlen(s2);
while (ugetc(s1)) {
if (ustrncmp(s1, s2, len) == 0)
- return (char *)s1;
+ return s1;
s1 += uwidth(s1);
}
More information about the Scummvm-git-logs
mailing list