summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2006-05-09 11:39:23 +0000
committerpeter1138 <peter1138@openttd.org>2006-05-09 11:39:23 +0000
commit0d6c71fc387d491b2f7d3b67c1d3948106a86790 (patch)
tree4ebaa55a0159d893cb6b13264a85f9b33891af81
parentde12d4a207f04339c9b193edfa72d13590bb30ed (diff)
downloadopenttd-0d6c71fc387d491b2f7d3b67c1d3948106a86790.tar.xz
(svn r4792) - Codechange: change a uint to a uint16 to avoid a signed/unsigned warning from some compilers.
-rw-r--r--rail_gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rail_gui.c b/rail_gui.c
index 96b39e1c0..071bcedc9 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++) {