mirror of https://github.com/OpenTTD/OpenTTD
(svn r13380) -Fix (r13327): MSVC signed/unsigned warning
parent
0c1d792d5e
commit
dc22170c99
|
@ -307,7 +307,7 @@ public:
|
||||||
|
|
||||||
uint16 y = NET_PRC__OFFSET_TOP_WIDGET + 3;
|
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) {
|
for (int i = this->vscroll.pos; i < max; ++i) {
|
||||||
const NetworkGameList *ngl = this->servers[i];
|
const NetworkGameList *ngl = this->servers[i];
|
||||||
|
|
Loading…
Reference in New Issue