rail_gui.c
changeset 3900 4984308f9125
parent 3796 4176bf40364e
child 3921 1cde1b48313a
--- a/rail_gui.c	Thu May 25 20:58:23 2006 +0000
+++ b/rail_gui.c	Sat May 27 16:12:16 2006 +0000
@@ -689,7 +689,7 @@
 			uint16 i;
 			uint y = 35;
 
-			for (i = w->vscroll.pos; i < _railstation.station_count && i < w->vscroll.pos + w->vscroll.cap; i++) {
+			for (i = w->vscroll.pos; i < _railstation.station_count && i < (uint)(w->vscroll.pos + w->vscroll.cap); i++) {
 				const StationSpec *statspec = GetCustomStationSpec(_railstation.station_class, i);
 
 				if (statspec != NULL && statspec->name != 0) {