From 027112e1fe08eb3cbc240cacba21c1c3a3350731 Mon Sep 17 00:00:00 2001 From: peter1138 Date: Mon, 14 Jan 2008 11:18:43 +0000 Subject: [PATCH] (svn r11846) -Fix [FS#1651]: implicit conversion from unsigned to signed int caused compilation failure with MSVC. --- src/newgrf.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/newgrf.cpp b/src/newgrf.cpp index f6c532cf2b..435a96e0f2 100644 --- a/src/newgrf.cpp +++ b/src/newgrf.cpp @@ -2348,7 +2348,7 @@ static void NewSpriteSet(byte *buf, int len) _cur_spriteid, feature, num_sets, num_ents, num_sets * num_ents ); - for (uint i = 0; i < num_sets * num_ents; i++) { + for (int i = 0; i < num_sets * num_ents; i++) { _nfo_line++; LoadNextSprite(_cur_spriteid++, _file_index, _nfo_line); }