diff options
Diffstat (limited to 'src/emap/lang.c')
-rw-r--r-- | src/emap/lang.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emap/lang.c b/src/emap/lang.c index 9952c3a..fcef241 100644 --- a/src/emap/lang.c +++ b/src/emap/lang.c @@ -138,14 +138,14 @@ static int langsdb_readdb (void) if (!strings) { strings = aCalloc (lang_num, sizeof(int*)); - sz = strlen(line1) + 1; + sz = (int)strlen(line1) + 1; strings[0] = aCalloc (sz < 24 ? 24 : sz, sizeof(char)); strcpy (strings[0], line2); strdb_put(translate_db, aStrdup (line1), strings); } else { - sz = strlen(line2) + 1; + sz = (int)strlen(line2) + 1; strings[i] = aCalloc (sz < 24 ? 24 : sz, sizeof(char)); strcpy (strings[i], line2); } |