aboutsummaryrefslogtreecommitdiff
path: root/engines/m4
diff options
context:
space:
mode:
authorTorbjörn Andersson2009-12-05 06:14:04 +0000
committerTorbjörn Andersson2009-12-05 06:14:04 +0000
commitcb9068583103ed7270484067e97a64bc7e092a1b (patch)
tree35c52959e827caad6648a4850f23b687305d72cc /engines/m4
parent19eff3b77480fd9a9d32ae6563e505f7ffd25da1 (diff)
downloadscummvm-rg350-cb9068583103ed7270484067e97a64bc7e092a1b.tar.gz
scummvm-rg350-cb9068583103ed7270484067e97a64bc7e092a1b.tar.bz2
scummvm-rg350-cb9068583103ed7270484067e97a64bc7e092a1b.zip
Silenced warning.
svn-id: r46265
Diffstat (limited to 'engines/m4')
-rw-r--r--engines/m4/viewmgr.cpp2
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;
}