Commit 06af246c authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Pure C++ joy

parent f4cb0e4c
...@@ -66,7 +66,7 @@ VLC_USED ...@@ -66,7 +66,7 @@ VLC_USED
static inline const char *ToLocale (const char *utf8) static inline const char *ToLocale (const char *utf8)
{ {
size_t outsize; size_t outsize;
return utf8 ? ToCharset ("", utf8, &outsize) : NULL; return utf8 ? (char *)ToCharset ("", utf8, &outsize) : (char *)NULL;
} }
# define LocaleFree(s) free((char *)(s)) # define LocaleFree(s) free((char *)(s))
# define FromLocaleDup FromLocale # define FromLocaleDup FromLocale
......
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