summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2008-01-14 11:18:43 +0000
committerpeter1138 <peter1138@openttd.org>2008-01-14 11:18:43 +0000
commit7475bf20ecf8249c22a7dd3d7c8e9840c2e6ae07 (patch)
treea28970e13ba13c349ac82e05808ec31b24a3f91c
parenta9f69f387d6a4b869d0f0985d92bb19cd0743849 (diff)
downloadopenttd-7475bf20ecf8249c22a7dd3d7c8e9840c2e6ae07.tar.xz
(svn r11846) -Fix [FS#1651]: implicit conversion from unsigned to signed int caused compilation failure with MSVC.
-rw-r--r--src/newgrf.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf.cpp b/src/newgrf.cpp
index f6c532cf2..435a96e0f 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);
}