diff --git a/rail_gui.c b/rail_gui.c index 96b39e1c0f..071bcedc9d 100644 --- a/rail_gui.c +++ b/rail_gui.c @@ -686,7 +686,7 @@ static void StationBuildWndProc(Window *w, WindowEvent *e) DrawStationCoverageAreaText(2, 166 + y_offset, (uint)-1, rad); if (newstations) { - uint i; + uint16 i; uint y = 35; for (i = w->vscroll.pos; i < _railstation.station_count && i < w->vscroll.pos + w->vscroll.cap; i++) {