summaryrefslogtreecommitdiff
path: root/src/namegen.cpp
diff options
context:
space:
mode:
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;