summaryrefslogtreecommitdiff
path: root/namegen.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-01-09 21:25:44 +0000
committertron <tron@openttd.org>2005-01-09 21:25:44 +0000
commit49584082a08db84344a54ae7e0a7927915261edf (patch)
tree3a16c9375ca0fbd2f06a419b1b0876bf48c7a3e0 /namegen.c
parentc6c86abeeec71db7ae8ef484af6f6e2373528a71 (diff)
downloadopenttd-49584082a08db84344a54ae7e0a7927915261edf.tar.xz
(svn r1451) Fix some of the signed/unsigned comparison warnings
Diffstat (limited to 'namegen.c')
-rw-r--r--namegen.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/namegen.c b/namegen.c
index 401c82c5a..5a3df3d71 100644
--- a/namegen.c
+++ b/namegen.c
@@ -306,7 +306,8 @@ static byte MakeFinnishTownName(byte *buf, uint32 seed)
static byte MakePolishTownName(byte *buf, uint32 seed)
{
- int i, j;
+ uint i;
+ uint j;
//null terminates the string for strcat
strcpy(buf, "");
@@ -402,7 +403,7 @@ static byte MakeNorwegianTownName(byte *buf, uint32 seed)
static byte MakeHungarianTownName(byte *buf, uint32 seed)
{
- int i;
+ uint i;
//null terminates the string for strcat
strcpy(buf, "");