aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjohndoe1232014-02-07 17:11:42 +0100
committerjohndoe1232014-02-07 17:11:42 +0100
commit62e7b4bbba3c56aa037e586a698268cc3708e3bb (patch)
tree72b035ab212effb17e7ef31b497c3ed3041a7d61
parent3471c0c24db691bc0f0ea4609629bac945e34bff (diff)
downloadscummvm-rg350-62e7b4bbba3c56aa037e586a698268cc3708e3bb.tar.gz
scummvm-rg350-62e7b4bbba3c56aa037e586a698268cc3708e3bb.tar.bz2
scummvm-rg350-62e7b4bbba3c56aa037e586a698268cc3708e3bb.zip
BBVS: Fix GCC warning (signed/unsigned comparison)
-rw-r--r--engines/bbvs/bbvs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/bbvs/bbvs.cpp b/engines/bbvs/bbvs.cpp
index 27dc9742b4..5775835df9 100644
--- a/engines/bbvs/bbvs.cpp
+++ b/engines/bbvs/bbvs.cpp
@@ -1492,7 +1492,7 @@ bool BbvsEngine::processCurrAction() {
if (sceneObject->walkDestPt.x != -1) {
debug(5, "waiting for walk to finish");
actionsFinished = false;
- } else if ((sceneObject->x >> 16) != soAction->walkDest.x || (sceneObject->y >> 16) != soAction->walkDest.y) {
+ } else if ((int16)(sceneObject->x >> 16) != soAction->walkDest.x || (int16)(sceneObject->y >> 16) != soAction->walkDest.y) {
debug(5, "starting to walk");
sceneObject->walkDestPt = soAction->walkDest;
actionsFinished = false;