diff options
author | Strangerke | 2014-11-14 07:53:58 +0100 |
---|---|---|
committer | Paul Gilbert | 2014-12-12 22:32:56 -0500 |
commit | bacb9badf859ebb4fa6c5b15f1cb46460f57ab5b (patch) | |
tree | d2468e7b82e2daea6e6848c19cfda43d5d8708bf | |
parent | 96cc1e3ac9270ca2ce60aedcbae3cca8c7410c1a (diff) | |
download | scummvm-rg350-bacb9badf859ebb4fa6c5b15f1cb46460f57ab5b.tar.gz scummvm-rg350-bacb9badf859ebb4fa6c5b15f1cb46460f57ab5b.tar.bz2 scummvm-rg350-bacb9badf859ebb4fa6c5b15f1cb46460f57ab5b.zip |
ACCESS: Fix compilation warning
-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; |