src/bridge_gui.cpp
changeset 10658 ac7884765615
parent 10641 13148f508e6d
child 10716 2406d1520245
--- 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);