From 273304d9ad28c2b8d2396f26f787976ebda0ae6a Mon Sep 17 00:00:00 2001 From: Strangerke Date: Tue, 12 Jan 2016 12:10:19 +0100 Subject: VOYEUR: change the type of the variable in a for loop --- engines/voyeur/files_threads.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/voyeur') 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) { -- cgit v1.2.3