diff options
author | terkhen <terkhen@openttd.org> | 2012-10-25 17:38:12 +0000 |
---|---|---|
committer | terkhen <terkhen@openttd.org> | 2012-10-25 17:38:12 +0000 |
commit | 9b5ff794c7048fb2227b50264911210c2328cea4 (patch) | |
tree | f8e679edb21306233699ea3710859fb15745bf54 /src/group_gui.cpp | |
parent | 6094275312e507f15b376ea7d6b0ccca83e1b4dd (diff) | |
download | openttd-9b5ff794c7048fb2227b50264911210c2328cea4.tar.xz |
(svn r24626) -Fix [FS#5432]: MSVC 2010 warnings.
Diffstat (limited to 'src/group_gui.cpp')
-rw-r--r-- | src/group_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/group_gui.cpp b/src/group_gui.cpp index e9817651c..a8aca15ad 100644 --- a/src/group_gui.cpp +++ b/src/group_gui.cpp @@ -511,7 +511,7 @@ public: y1 += this->tiny_step_height; } - if (this->group_sb->GetPosition() + this->group_sb->GetCapacity() > this->groups.Length()) { + if ((uint)this->group_sb->GetPosition() + this->group_sb->GetCapacity() > this->groups.Length()) { DrawGroupInfo(y1, r.left, r.right, NEW_GROUP); } break; |