diff options
author | peter1138 <peter1138@openttd.org> | 2006-10-27 14:05:42 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2006-10-27 14:05:42 +0000 |
commit | 250b9b04362f2c86b7a6cf8f79cb5d8a54eee2e7 (patch) | |
tree | 20568947872143da556709d4c0560440bc50ff2a | |
parent | 5aab661a7d9d7e0b96d79718cb33da871777879b (diff) | |
download | openttd-250b9b04362f2c86b7a6cf8f79cb5d8a54eee2e7.tar.xz |
(svn r6963) - Fix (r6960): signed/unsigned complaints from MSVC
-rw-r--r-- | newgrf.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -90,14 +90,14 @@ typedef enum grfspec_feature { typedef void (*SpecialSpriteHandler)(byte *buf, int len); -static const uint _vehcounts[4] = { +static const int _vehcounts[4] = { /* GSF_TRAIN */ NUM_TRAIN_ENGINES, /* GSF_ROAD */ NUM_ROAD_ENGINES, /* GSF_SHIP */ NUM_SHIP_ENGINES, /* GSF_AIRCRAFT */ NUM_AIRCRAFT_ENGINES }; -static const uint _vehshifts[4] = { +static const int _vehshifts[4] = { /* GSF_TRAIN */ 0, /* GSF_ROAD */ ROAD_ENGINES_INDEX, /* GSF_SHIP */ SHIP_ENGINES_INDEX, @@ -2615,7 +2615,7 @@ static void ParamSet(byte *buf, int len) uint start = 0; uint size = 0; uint shift = _vehshifts[feature]; - uint i; + int i; if (op == 6) { /* Return GRFID of set that reserved ID */ |