summaryrefslogtreecommitdiff
path: root/src/network
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
commitdc22170c99aed1aeb04132767fddf5f7f165418c (patch)
tree23b46126b6c02b352285bb5b1fa7eec182419cca /src/network
parent0c1d792d5ebe1f3608e18c183fb908bde639c1f9 (diff)
downloadopenttd-dc22170c99aed1aeb04132767fddf5f7f165418c.tar.xz
(svn r13380) -Fix (r13327): MSVC signed/unsigned warning
Diffstat (limited to 'src/network')
-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];