(svn r13380) -Fix (r13327): MSVC signed/unsigned warning

This commit is contained in:
glx 2008-06-04 22:30:44 +00:00
parent 0c1d792d5e
commit dc22170c99

View File

@ -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];