[Scummvm-git-logs] scummvm master -> 245bef26a2e5213b03d249f11853fc68096666dc

digitall 547637+digitall at users.noreply.github.com
Fri Jul 9 20:28:01 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:
245bef26a2 DEVTOOLS: Fix Compilation


Commit: 245bef26a2e5213b03d249f11853fc68096666dc
    https://github.com/scummvm/scummvm/commit/245bef26a2e5213b03d249f11853fc68096666dc
Author: D G Turner (digitall at scummvm.org)
Date: 2021-07-09T21:27:16+01:00

Commit Message:
DEVTOOLS: Fix Compilation

Changed paths:
    devtools/create_titanic/zlib.cpp


diff --git a/devtools/create_titanic/zlib.cpp b/devtools/create_titanic/zlib.cpp
index 451a221838..06ff38b13a 100644
--- a/devtools/create_titanic/zlib.cpp
+++ b/devtools/create_titanic/zlib.cpp
@@ -307,7 +307,7 @@ public:
 		// bytes, so this should be fine.
 		byte tmpBuf[1024];
 		while (!err() && offset > 0) {
-			offset -= read(tmpBuf, MIN((int32)sizeof(tmpBuf), offset));
+			offset -= read(tmpBuf, MIN((int32)sizeof(tmpBuf), (int32)offset));
 		}
 
 		_eos = false;




More information about the Scummvm-git-logs mailing list