1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-30 09:59:10 +00:00

(svn r13202) -Fix (r13149): MSVC signed/unsigned warning

This commit is contained in:
glx
2008-05-20 21:55:45 +00:00
parent f244b6b361
commit 621e205f74

View File

@@ -183,7 +183,7 @@ public:
uint y = this->widget[BBSW_BRIDGE_LIST].top + 2;
for (uint i = this->vscroll.pos; (i < (this->vscroll.cap + this->vscroll.pos)) && (i < this->bridges->list_length); i++) {
for (int i = this->vscroll.pos; (i < (this->vscroll.cap + this->vscroll.pos)) && (i < this->bridges->list_length); i++) {
const BridgeSpec *b = this->bridges->sort_list[i].spec;
SetDParam(2, this->bridges->sort_list[i].cost);