1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-23 22:49:09 +00:00

(svn r2643) Get rid of some unnecessary casts

This commit is contained in:
tron
2005-07-19 21:49:35 +00:00
parent 4b1c520264
commit 7c694f2553
9 changed files with 20 additions and 21 deletions

View File

@@ -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)