summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorglx <glx@openttd.org>2008-05-20 21:55:45 +0000
committerglx <glx@openttd.org>2008-05-20 21:55:45 +0000
commit621e205f747fef62779f6ca5bd8a1a9b9a4c9664 (patch)
treec80f9737c986caf01de20b97bdf856f25facf581 /src
parentf244b6b36178642ba9e429897c2f02a4d59c7f12 (diff)
downloadopenttd-621e205f747fef62779f6ca5bd8a1a9b9a4c9664.tar.xz
(svn r13202) -Fix (r13149): MSVC signed/unsigned warning
Diffstat (limited to 'src')
-rw-r--r--src/bridge_gui.cpp2
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);