author | glx |
Wed, 04 Jun 2008 22:30:44 +0000 | |
changeset 10830 | 6f77385d473b |
parent 10828 | e6bf52233c8a |
child 10832 | 55d2502fc17f |
--- a/src/network/network_gui.cpp Wed Jun 04 22:03:22 2008 +0000 +++ b/src/network/network_gui.cpp Wed Jun 04 22:30:44 2008 +0000 @@ -307,7 +307,7 @@ 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];