Commit 59c65f1e authored by Eli Zaretskii's avatar Eli Zaretskii

(synchronize_locale): Avoid compiler warnings about

pointer type mismatch.
parent d01f3570
No preview for this file type
......@@ -1928,7 +1928,7 @@ synchronize_locale (category, plocale, desired_locale)
{
*plocale = desired_locale;
setlocale (category, (STRINGP (desired_locale)
? XSTRING (desired_locale)->data
? (char *)(XSTRING (desired_locale)->data)
: ""));
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment