aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2017-09-24 10:34:13 -0400
committerPaul Gilbert2017-09-24 10:34:13 -0400
commitb724ea65301ff2259e1638426da99c94a9966d65 (patch)
tree9f74dc0d265a5395fe47d0b08542f70b27dc9f4d
parent2bc23ba6c347a5e02b95e0bcf6cf5f47e14b5587 (diff)
downloadscummvm-rg350-b724ea65301ff2259e1638426da99c94a9966d65.tar.gz
scummvm-rg350-b724ea65301ff2259e1638426da99c94a9966d65.tar.bz2
scummvm-rg350-b724ea65301ff2259e1638426da99c94a9966d65.zip
TITANIC: Fix compiler warnings in DeskbotScript
-rw-r--r--engines/titanic/true_talk/deskbot_script.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/titanic/true_talk/deskbot_script.cpp b/engines/titanic/true_talk/deskbot_script.cpp
index cd3db1e1f1..128868c84e 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;