diff options
-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]; |