[Scummvm-git-logs] scummvm master -> 302e641c3752500d600f99d1b83dfb52085514cf

digitall noreply at scummvm.org
Sun Nov 20 23:13:39 UTC 2022


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:
302e641c37 HADESCH: Fix Signed vs. Unsigned Variable GCC Compiler Warning


Commit: 302e641c3752500d600f99d1b83dfb52085514cf
    https://github.com/scummvm/scummvm/commit/302e641c3752500d600f99d1b83dfb52085514cf
Author: D G Turner (digitall at scummvm.org)
Date: 2022-11-20T23:12:47Z

Commit Message:
HADESCH: Fix Signed vs. Unsigned Variable GCC Compiler Warning

Changed paths:
    engines/hadesch/hadesch.cpp


diff --git a/engines/hadesch/hadesch.cpp b/engines/hadesch/hadesch.cpp
index 1fa7c88ac77..d19202e9c84 100644
--- a/engines/hadesch/hadesch.cpp
+++ b/engines/hadesch/hadesch.cpp
@@ -160,7 +160,7 @@ Common::MemoryReadStream *readWiseFile(Common::File &setupFile, const struct Wis
 	setupFile.seek(wiseFile.start);
 	setupFile.read(compressedBuffer, wiseFile.end - wiseFile.start - 4);
 	if (Common::GzioReadStream::deflateDecompress(uncompressedBuffer, wiseFile.uncompressedLength,
-					   compressedBuffer, wiseFile.end - wiseFile.start - 4) != wiseFile.uncompressedLength) {
+					   compressedBuffer, wiseFile.end - wiseFile.start - 4) != (int)wiseFile.uncompressedLength) {
 		debug("wise inflate failed");
 		delete[] compressedBuffer;
 		delete[] uncompressedBuffer;




More information about the Scummvm-git-logs mailing list