diff options
Diffstat (limited to 'engines/m4')
-rw-r--r-- | engines/m4/viewmgr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/m4/viewmgr.cpp b/engines/m4/viewmgr.cpp index b87ed7c91f..108f97e979 100644 --- a/engines/m4/viewmgr.cpp +++ b/engines/m4/viewmgr.cpp @@ -59,7 +59,7 @@ void RectList::addRect(const Common::Rect &rect) { } int RectList::find(const Common::Point &pt) { - for (int idx = 0; idx < size(); ++idx) { + for (uint idx = 0; idx < size(); ++idx) { if (this->operator [](idx).contains(pt.x, pt.y)) return idx; } |