[Scummvm-git-logs] scummvm master -> 292e8891c3c230ac840aa3774b18a8127c152e83

athrxx noreply at scummvm.org
Wed Aug 7 20:48:22 UTC 2024


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:
292e8891c3 KYRA: fix signed/unsigned warning for certain backends


Commit: 292e8891c3c230ac840aa3774b18a8127c152e83
    https://github.com/scummvm/scummvm/commit/292e8891c3c230ac840aa3774b18a8127c152e83
Author: athrxx (athrxx at scummvm.org)
Date: 2024-08-07T22:47:31+02:00

Commit Message:
KYRA: fix signed/unsigned warning for certain backends

Changed paths:
    engines/kyra/gui/gui_eob_segacd.cpp


diff --git a/engines/kyra/gui/gui_eob_segacd.cpp b/engines/kyra/gui/gui_eob_segacd.cpp
index e3b91171322..e31eead19e3 100644
--- a/engines/kyra/gui/gui_eob_segacd.cpp
+++ b/engines/kyra/gui/gui_eob_segacd.cpp
@@ -927,7 +927,7 @@ void GUI_EoB_SegaCD::memorizePrayMenuPrintString(int spellId, int bookPageIndex,
 		Common::String s = Common::String::format(_vm->_menuStringsMgc[0], spellType ? _vm->_clericSpellList[spellId] : _vm->_mageSpellList[spellId], _numAssignedSpellsOfType[spellId * 2 - 2]);
 		if (_vm->gameFlags().lang == Common::JA_JPN) {
 			for (int i = 0; i < 19; ++i) {
-				if (s[i] == -34 || s[i] == -33)
+				if ((int8)s[i] == -34 || (int8)s[i] == -33)
 					s.insertChar(' ', 18);
 			}
 		}




More information about the Scummvm-git-logs mailing list