src/bridge_gui.cpp
changeset 9320 4e17d11b92e4
parent 9317 f14eb8815829
child 9365 95e9cbc0257e
--- a/src/bridge_gui.cpp	Mon May 19 19:17:56 2008 +0000
+++ b/src/bridge_gui.cpp	Tue May 20 21:55:45 2008 +0000
@@ -183,7 +183,7 @@
 
 		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);