Mercurial > hg > openttd
changeset 8239:010b7ca04493 draft
(svn r11803) -Fix: unlikely but possible infinite loop leading to undefined behaviour
author | peter1138 <peter1138@openttd.org> |
---|---|
date | Wed, 09 Jan 2008 23:17:40 +0000 |
parents | e9d8b0764f38 |
children | 5dc230e1a851 |
files | src/newgrf.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/newgrf.cpp +++ b/src/newgrf.cpp @@ -2346,7 +2346,7 @@ _cur_spriteid, feature, num_sets, num_ents, num_sets * num_ents ); - for (uint16 i = 0; i < num_sets * num_ents; i++) { + for (uint i = 0; i < num_sets * num_ents; i++) { _nfo_line++; LoadNextSprite(_cur_spriteid++, _file_index, _nfo_line); }