diff options
author | glx <glx@openttd.org> | 2008-06-04 22:30:44 +0000 |
---|---|---|
committer | glx <glx@openttd.org> | 2008-06-04 22:30:44 +0000 |
commit | dc22170c99aed1aeb04132767fddf5f7f165418c (patch) | |
tree | 23b46126b6c02b352285bb5b1fa7eec182419cca /src/network | |
parent | 0c1d792d5ebe1f3608e18c183fb908bde639c1f9 (diff) | |
download | openttd-dc22170c99aed1aeb04132767fddf5f7f165418c.tar.xz |
(svn r13380) -Fix (r13327): MSVC signed/unsigned warning
Diffstat (limited to 'src/network')
-rw-r--r-- | src/network/network_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/network_gui.cpp b/src/network/network_gui.cpp index a837fb57b..23a0f86a7 100644 --- a/src/network/network_gui.cpp +++ b/src/network/network_gui.cpp @@ -307,7 +307,7 @@ public: uint16 y = NET_PRC__OFFSET_TOP_WIDGET + 3; - const int max = min(this->vscroll.pos + this->vscroll.cap, this->servers.Length()); + const int max = min(this->vscroll.pos + this->vscroll.cap, (int)this->servers.Length()); for (int i = this->vscroll.pos; i < max; ++i) { const NetworkGameList *ngl = this->servers[i]; |