VOYEUR: change the type of the variable in a for loop

This commit is contained in:
Strangerke 2016-01-12 12:10:19 +01:00
parent eed0fe1a2d
commit 273304d9ad

View File

@ -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) {