use proper format string rather than casting it away
SVN revision: 39399
This commit is contained in:
parent
65fa823f9b
commit
f4b5e3e99f
|
@ -388,8 +388,8 @@ LangInit(void)
|
|||
if (EDebug(EDBUG_TYPE_VERBOSE))
|
||||
{
|
||||
Eprintf("Locale: %s\n", setlocale(LC_ALL, NULL));
|
||||
Eprintf("Character encoding: locale=%s internal=%s MB_CUR_MAX=%d\n",
|
||||
enc_loc, enc_int, (int)MB_CUR_MAX);
|
||||
Eprintf("Character encoding: locale=%s internal=%s MB_CUR_MAX=%zu\n",
|
||||
enc_loc, enc_int, MB_CUR_MAX);
|
||||
}
|
||||
|
||||
if (!Estrcasecmp(enc_loc, "utf8") || !Estrcasecmp(enc_loc, "utf-8"))
|
||||
|
|
Loading…
Reference in New Issue