summaryrefslogtreecommitdiff
path: root/src/namegen.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-03-24 22:00:11 +0000
committerrubidium <rubidium@openttd.org>2009-03-24 22:00:11 +0000
commit4546be7e906ffcf8810d45e6630081e9b1716e90 (patch)
tree014b183c7d62148808f939e9f3b20a74404b28c4 /src/namegen.cpp
parent5c44bb6b63b9b9d9ecd1977079f105a3053aed4a (diff)
downloadopenttd-4546be7e906ffcf8810d45e6630081e9b1716e90.tar.xz
(svn r15838) -Fix: MSVC 64 bits warnings
Diffstat (limited to 'src/namegen.cpp')
-rw-r--r--src/namegen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/namegen.cpp b/src/namegen.cpp
index 68fc86a24..b48ce19d8 100644
--- a/src/namegen.cpp
+++ b/src/namegen.cpp
@@ -559,7 +559,7 @@ static char *MakeCzechTownName(char *buf, const char *last, uint32 seed)
assert(i > 0);
/* Load the ending */
- ending = map[SeedModChance(16, i, seed)];
+ ending = map[SeedModChance(16, (int)i, seed)];
/* Override possible CZG_*FREE; this must be a real gender,
* otherwise we get overflow when modifying the adjectivum. */
gender = _name_czech_subst_ending[ending].gender;