summaryrefslogtreecommitdiff
path: root/graph_gui.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-07-19 21:49:35 +0000
committertron <tron@openttd.org>2005-07-19 21:49:35 +0000
commit7c694f25537097f380d7215082b42eea51e86815 (patch)
tree02f05ccb111e772991e342a10812e26ae8d1a118 /graph_gui.c
parent4b1c5202640d5c741ebdda3b3775a337a1c36be8 (diff)
downloadopenttd-7c694f25537097f380d7215082b42eea51e86815.tar.xz
(svn r2643) Get rid of some unnecessary casts
Diffstat (limited to 'graph_gui.c')
-rw-r--r--graph_gui.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/graph_gui.c b/graph_gui.c
index 460f1ec6b..6f65854f1 100644
--- a/graph_gui.c
+++ b/graph_gui.c
@@ -1171,8 +1171,7 @@ static void SignListWndProc(Window *w, WindowEvent *e)
SignStruct *ss;
/* Start drawing the signs */
- i = 0;
- for (i = w->vscroll.pos; i < (uint)w->vscroll.cap + w->vscroll.pos && i < w->vscroll.count; i++) {
+ for (i = w->vscroll.pos; i < w->vscroll.cap + w->vscroll.pos && i < w->vscroll.count; i++) {
ss = GetSign(_sign_sort[i]);
if (ss->owner != OWNER_NONE)