diff options
-rw-r--r-- | engines/access/events.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/access/events.cpp b/engines/access/events.cpp index b05aea3025..ac07a7579f 100644 --- a/engines/access/events.cpp +++ b/engines/access/events.cpp @@ -253,8 +253,7 @@ Common::Point EventsManager::calcRawMouse() { } int EventsManager::checkMouseBox1(Common::Array<Common::Rect> &rects) { - int i = 0; - for (i = 0; i < rects.size(); ++i) { + for (uint16 i = 0; i < rects.size(); ++i) { if (rects[i].left == -1) return -1; |