[Scummvm-git-logs] scummvm master -> 31115960e6d00cb563b1c68c869560bc73fe8511

digitall 547637+digitall at users.noreply.github.com
Sat May 9 18:36:41 UTC 2020


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:
31115960e6 PRINCE: Fix Signed vs. Unsigned GCC Compiler Warning


Commit: 31115960e6d00cb563b1c68c869560bc73fe8511
    https://github.com/scummvm/scummvm/commit/31115960e6d00cb563b1c68c869560bc73fe8511
Author: D G Turner (digitall at scummvm.org)
Date: 2020-05-09T19:34:08+01:00

Commit Message:
PRINCE: Fix Signed vs. Unsigned GCC Compiler Warning

Changed paths:
    engines/prince/archive.cpp


diff --git a/engines/prince/archive.cpp b/engines/prince/archive.cpp
index 94af629674..22d7d9e719 100644
--- a/engines/prince/archive.cpp
+++ b/engines/prince/archive.cpp
@@ -98,7 +98,7 @@ bool PtcArchive::openTranslation(const Common::String &filename) {
 		_items[translationNames[i]] = item;
 	}
 
-	if (_items[translationNames[0]]._offset == _stream->pos()) {
+	if ((int32)_items[translationNames[0]]._offset == _stream->pos()) {
 		warning("v0 translation file detected, update is needed");
 
 		return true;




More information about the Scummvm-git-logs mailing list