aboutsummaryrefslogtreecommitdiff
path: root/engines/voyeur
diff options
context:
space:
mode:
authorStrangerke2016-01-12 12:10:19 +0100
committerStrangerke2016-01-12 12:10:19 +0100
commit273304d9ad28c2b8d2396f26f787976ebda0ae6a (patch)
treee18b773cf2a47024f461e1e5164c4d3ef293aa22 /engines/voyeur
parenteed0fe1a2d2f3ccb4918b1569be41c5f58245d91 (diff)
downloadscummvm-rg350-273304d9ad28c2b8d2396f26f787976ebda0ae6a.tar.gz
scummvm-rg350-273304d9ad28c2b8d2396f26f787976ebda0ae6a.tar.bz2
scummvm-rg350-273304d9ad28c2b8d2396f26f787976ebda0ae6a.zip
VOYEUR: change the type of the variable in a for loop
Diffstat (limited to 'engines/voyeur')
-rw-r--r--engines/voyeur/files_threads.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/voyeur/files_threads.cpp b/engines/voyeur/files_threads.cpp
index 1de03c394c..9908324043 100644
--- a/engines/voyeur/files_threads.cpp
+++ b/engines/voyeur/files_threads.cpp
@@ -1390,7 +1390,7 @@ int ThreadResource::doInterface() {
Common::Point(pt.x - MANSION_VIEW_X, pt.y - MANSION_VIEW_Y);
regionIndex = -1;
- for (int hotspotIdx = 0; hotspotIdx < (int)hotspots->size(); ++hotspotIdx) {
+ for (uint hotspotIdx = 0; hotspotIdx < hotspots->size(); ++hotspotIdx) {
if ((*hotspots)[hotspotIdx].contains(pt)) {
// Rect check done
for (int arrIndex = 0; arrIndex < 3; ++arrIndex) {