diff options
author | KUDr <KUDr@openttd.org> | 2006-05-27 16:12:16 +0000 |
---|---|---|
committer | KUDr <KUDr@openttd.org> | 2006-05-27 16:12:16 +0000 |
commit | 308f27a3de3817cc96ad21b7830b261443206cc0 (patch) | |
tree | e4580db6e03032a997fce1392929b7190dc3b03d /rail_gui.c | |
parent | 3c2eb4f0865c912340f292ece24cf5664559c1ad (diff) | |
download | openttd-308f27a3de3817cc96ad21b7830b261443206cc0.tar.xz |
(svn r4987) Feature: Merged YAPF into trunk. Thanks to devs for continuous support and users for testing.
Diffstat (limited to 'rail_gui.c')
-rw-r--r-- | rail_gui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rail_gui.c b/rail_gui.c index 071bcedc9..f8f7f48de 100644 --- a/rail_gui.c +++ b/rail_gui.c @@ -689,7 +689,7 @@ static void StationBuildWndProc(Window *w, WindowEvent *e) 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) { |