summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorglx <glx@openttd.org>2008-06-04 22:30:44 +0000
committerglx <glx@openttd.org>2008-06-04 22:30:44 +0000
commitf4b1d4b48b73a75dbc679364b2140c567034b44f (patch)
tree23b46126b6c02b352285bb5b1fa7eec182419cca
parentd74eac6211a4fa2b4eb74956c0caeb8c752d3ab3 (diff)
downloadopenttd-f4b1d4b48b73a75dbc679364b2140c567034b44f.tar.xz
(svn r13380) -Fix (r13327): MSVC signed/unsigned warning
-rw-r--r--src/network/network_gui.cpp2
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];