diff options
Diffstat (limited to 'src/charConv.c')
-rw-r--r-- | src/charConv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/charConv.c b/src/charConv.c index 306ee9999..895a695cd 100644 --- a/src/charConv.c +++ b/src/charConv.c @@ -42,7 +42,7 @@ static mpd_sint8 char_conv_latin1ToUtf8; static void closeCharSetConversion(void); -int setCharSetConversion(char *to, char *from) +int setCharSetConversion(const char *to, const char *from) { if (char_conv_to && char_conv_from) { if (char_conv_latin1ToUtf8 && @@ -93,7 +93,7 @@ int setCharSetConversion(char *to, char *from) return -1; } -char *char_conv_str(char *dest, char *string) +char *char_conv_str(char *dest, const char *string) { if (!char_conv_to) return NULL; |