Commit 09814f3e authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Remove excessive const

parent 06af246c
...@@ -57,13 +57,13 @@ VLC_API void * ToCharset( const char *charset, const char *in, size_t *outsize ) ...@@ -57,13 +57,13 @@ VLC_API void * ToCharset( const char *charset, const char *in, size_t *outsize )
#else #else
VLC_USED VLC_USED
static inline const char *FromLocale (const char *locale) static inline char *FromLocale (const char *locale)
{ {
return locale ? FromCharset ("", locale, strlen (locale)) : NULL; return locale ? FromCharset ("", locale, strlen (locale)) : NULL;
} }
VLC_USED VLC_USED
static inline const char *ToLocale (const char *utf8) static inline char *ToLocale (const char *utf8)
{ {
size_t outsize; size_t outsize;
return utf8 ? (char *)ToCharset ("", utf8, &outsize) : (char *)NULL; return utf8 ? (char *)ToCharset ("", utf8, &outsize) : (char *)NULL;
......
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