mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-31 18:39:10 +00:00
(svn r13202) -Fix (r13149): MSVC signed/unsigned warning
This commit is contained in:
@@ -183,7 +183,7 @@ public:
|
|||||||
|
|
||||||
uint y = this->widget[BBSW_BRIDGE_LIST].top + 2;
|
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;
|
const BridgeSpec *b = this->bridges->sort_list[i].spec;
|
||||||
|
|
||||||
SetDParam(2, this->bridges->sort_list[i].cost);
|
SetDParam(2, this->bridges->sort_list[i].cost);
|
||||||
|
Reference in New Issue
Block a user