summaryrefslogtreecommitdiff
path: root/ttd.c
diff options
context:
space:
mode:
Diffstat (limited to 'ttd.c')
-rw-r--r--ttd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ttd.c b/ttd.c
index 266ca8571..ce245d8d0 100644
--- a/ttd.c
+++ b/ttd.c
@@ -267,7 +267,7 @@ void LoadDriver(int driver, const char *name)
ttd_strlcpy(buffer, name, sizeof(buffer));
parm = strchr(buffer, ':');
if (parm) {
- int np = 0;
+ uint np = 0;
// Tokenize the parm.
do {
*parm++ = 0;
@@ -1243,7 +1243,7 @@ void UpdateCurrencies()
// even though they should have. This is fixed by this function
void UpdateVoidTiles()
{
- int i;
+ uint i;
// create void tiles on the border
for (i = 0; i != MapMaxY(); i++)
_map_type_and_height[ i * MapSizeX() + MapMaxY() ] = MP_VOID << 4;