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 | f4b1d4b48b73a75dbc679364b2140c567034b44f (patch) | |
tree | 23b46126b6c02b352285bb5b1fa7eec182419cca /src/network/network_gui.cpp | |
parent | d74eac6211a4fa2b4eb74956c0caeb8c752d3ab3 (diff) | |
download | openttd-f4b1d4b48b73a75dbc679364b2140c567034b44f.tar.xz |
(svn r13380) -Fix (r13327): MSVC signed/unsigned warning
Diffstat (limited to 'src/network/network_gui.cpp')
-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]; |