diff options
author | glx <glx@openttd.org> | 2008-05-20 21:55:45 +0000 |
---|---|---|
committer | glx <glx@openttd.org> | 2008-05-20 21:55:45 +0000 |
commit | 41adc28093b5c92343ffe9129c48f8c364e8d88b (patch) | |
tree | c80f9737c986caf01de20b97bdf856f25facf581 | |
parent | c1e45bcb01da316e1cefc5a4f6cc9013bde0781f (diff) | |
download | openttd-41adc28093b5c92343ffe9129c48f8c364e8d88b.tar.xz |
(svn r13202) -Fix (r13149): MSVC signed/unsigned warning
-rw-r--r-- | src/bridge_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bridge_gui.cpp b/src/bridge_gui.cpp index 745d96025..0ff0ac895 100644 --- a/src/bridge_gui.cpp +++ b/src/bridge_gui.cpp @@ -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); |