[Scummvm-git-logs] scummvm master -> 69ebe3747ab62e28d152767627bee97d675dca54

dreammaster dreammaster at scummvm.org
Mon May 28 02:43:12 CEST 2018


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:
69ebe3747a XEEN: Fix compiler warning


Commit: 69ebe3747ab62e28d152767627bee97d675dca54
    https://github.com/scummvm/scummvm/commit/69ebe3747ab62e28d152767627bee97d675dca54
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2018-05-27T20:43:04-04:00

Commit Message:
XEEN: Fix compiler warning

Changed paths:
    engines/xeen/interface.cpp


diff --git a/engines/xeen/interface.cpp b/engines/xeen/interface.cpp
index c1628da..6d8de93 100644
--- a/engines/xeen/interface.cpp
+++ b/engines/xeen/interface.cpp
@@ -1510,7 +1510,7 @@ void Interface::doCombat() {
 			// FIXME: I've had a rare issue where the loop starts with a non-party _whosTurn. Unfortunately,
 			// I haven't been able to consistently replicate and diagnose the problem, so for now,
 			// I'm simply detecting if it happens and resetting the combat round
-			if (combat._whosTurn >= party._activeParty.size())
+			if (combat._whosTurn >= (int)party._activeParty.size())
 				goto new_round;
 
 			highlightChar(combat._whosTurn);





More information about the Scummvm-git-logs mailing list