aboutsummaryrefslogtreecommitdiff
path: root/queen/walk.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'queen/walk.cpp')
-rw-r--r--queen/walk.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/queen/walk.cpp b/queen/walk.cpp
index 445827052d..8c6957e81e 100644
--- a/queen/walk.cpp
+++ b/queen/walk.cpp
@@ -454,7 +454,7 @@ int16 Walk::findAreaPosition(int16 *x, int16 *y, bool recalibrate) {
// original game, Joe will go to the left door...
uint16 i;
uint16 pos = 1;
- uint32 minDist = ~0;
+ uint32 minDist = (uint32)~0;
const Box *b = &_roomArea[1].box;
for (i = 1; i <= _roomAreaCount; ++i) {