diff options
author | tron <tron@openttd.org> | 2005-01-10 22:14:35 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-01-10 22:14:35 +0000 |
commit | 05a3a83b6ce2d8d993900b1741ec26c61fa7a5e8 (patch) | |
tree | 6883287048b8258867d42f07df628238162411dc /viewport.c | |
parent | 46d0e2f892bdb7a17deb7b5e2847db458967bf14 (diff) | |
download | openttd-05a3a83b6ce2d8d993900b1741ec26c61fa7a5e8.tar.xz |
(svn r1475) Fix some more signed/unsigned comparison warnings
Diffstat (limited to 'viewport.c')
-rw-r--r-- | viewport.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/viewport.c b/viewport.c index b7d338a75..d33ff6a3e 100644 --- a/viewport.c +++ b/viewport.c @@ -1186,7 +1186,7 @@ void ViewportDoDraw(const ViewPort *vp, int left, int top, int right, int bottom // This assert should never happen (because the length of the parent_list // is checked) - assert(vd.parent_list - parent_list <= lengthof(parent_list)); + assert(vd.parent_list <= endof(parent_list)); if (vd.first_tile != NULL) ViewportDrawTileSprites(vd.first_tile); |