aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorStrangerke2014-11-14 07:53:58 +0100
committerPaul Gilbert2014-12-12 22:32:56 -0500
commitbacb9badf859ebb4fa6c5b15f1cb46460f57ab5b (patch)
treed2468e7b82e2daea6e6848c19cfda43d5d8708bf /engines
parent96cc1e3ac9270ca2ce60aedcbae3cca8c7410c1a (diff)
downloadscummvm-rg350-bacb9badf859ebb4fa6c5b15f1cb46460f57ab5b.tar.gz
scummvm-rg350-bacb9badf859ebb4fa6c5b15f1cb46460f57ab5b.tar.bz2
scummvm-rg350-bacb9badf859ebb4fa6c5b15f1cb46460f57ab5b.zip
ACCESS: Fix compilation warning
Diffstat (limited to 'engines')
-rw-r--r--engines/access/events.cpp3
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;