[Scummvm-git-logs] scummvm master -> b27dd08b5b184886498fcbc0d68abe9321b53d8d

criezy criezy at scummvm.org
Sun Feb 14 19:32:27 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:
b27dd08b5b AGS: Fix Android crashing on game launch


Commit: b27dd08b5b184886498fcbc0d68abe9321b53d8d
    https://github.com/scummvm/scummvm/commit/b27dd08b5b184886498fcbc0d68abe9321b53d8d
Author: Oliver Pahl (oliver.pahl at posteo.de)
Date: 2021-02-14T19:32:25Z

Commit Message:
AGS: Fix Android crashing on game launch

Changed paths:
    engines/ags/shared/util/compress.cpp


diff --git a/engines/ags/shared/util/compress.cpp b/engines/ags/shared/util/compress.cpp
index f5490d76ff..fc95c46f6d 100644
--- a/engines/ags/shared/util/compress.cpp
+++ b/engines/ags/shared/util/compress.cpp
@@ -177,7 +177,7 @@ int cunpackbitl(uint8 *line, int size, Stream *in) {
 		if (in->HasErrors())
 			break;
 
-		char cx = ix;
+		int8 cx = ix;
 		if (cx == -128)
 			cx = 0;
 
@@ -214,7 +214,7 @@ int cunpackbitl16(uint16 *line, int size, Stream *in) {
 		if (in->HasErrors())
 			break;
 
-		char cx = ix;
+		int8 cx = ix;
 		if (cx == -128)
 			cx = 0;
 
@@ -251,7 +251,7 @@ int cunpackbitl32(uint32 *line, int size, Stream *in) {
 		if (in->HasErrors())
 			break;
 
-		char cx = ix;
+		int8 cx = ix;
 		if (cx == -128)
 			cx = 0;
 




More information about the Scummvm-git-logs mailing list