mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-02-01 03:48:43 +00:00
(svn r13380) -Fix (r13327): MSVC signed/unsigned warning
This commit is contained in:
parent
0c1d792d5e
commit
dc22170c99
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user