[Scummvm-git-logs] scummvm master -> b724ea65301ff2259e1638426da99c94a9966d65

dreammaster dreammaster at scummvm.org
Sun Sep 24 16:34:22 CEST 2017


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:
b724ea6530 TITANIC: Fix compiler warnings in DeskbotScript


Commit: b724ea65301ff2259e1638426da99c94a9966d65
    https://github.com/scummvm/scummvm/commit/b724ea65301ff2259e1638426da99c94a9966d65
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2017-09-24T10:34:13-04:00

Commit Message:
TITANIC: Fix compiler warnings in DeskbotScript

Changed paths:
    engines/titanic/true_talk/deskbot_script.cpp


diff --git a/engines/titanic/true_talk/deskbot_script.cpp b/engines/titanic/true_talk/deskbot_script.cpp
index cd3db1e..128868c 100644
--- a/engines/titanic/true_talk/deskbot_script.cpp
+++ b/engines/titanic/true_talk/deskbot_script.cpp
@@ -365,14 +365,14 @@ exit:
 int DeskbotScript::preResponse(uint id) {
 	int newId = 0;
 	if (getValue(1) >= 3 && (
-			id == TRANSLATE(41176, 41190) ||
-			id == TRANSLATE(41738, 41429) ||
-			id == TRANSLATE(41413, 41755) ||
-			id == TRANSLATE(41740, 41757)
+			id == (uint)TRANSLATE(41176, 41190) ||
+			id == (uint)TRANSLATE(41738, 41429) ||
+			id == (uint)TRANSLATE(41413, 41755) ||
+			id == (uint)TRANSLATE(41740, 41757)
 		)) {
 		newId = 241601;
 	}
-	if (id == TRANSLATE(42114, 42132))
+	if (id == (uint)TRANSLATE(42114, 42132))
 		CTrueTalkManager::triggerAction(20, 0);
 
 	return newId;





More information about the Scummvm-git-logs mailing list