diff options
Diffstat (limited to 'source3/lib/iconv.c')
-rw-r--r-- | source3/lib/iconv.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/lib/iconv.c b/source3/lib/iconv.c index e4845e4734..54733c2ac2 100644 --- a/source3/lib/iconv.c +++ b/source3/lib/iconv.c @@ -35,7 +35,7 @@ static size_t iconv_copy(void *,char **, size_t *, char **, size_t *); a ucs2 buffer, and a function that pushes to a ucs2 buffer */ static struct { - char *name; + const char *name; size_t (*pull)(void *, char **inbuf, size_t *inbytesleft, char **outbuf, size_t *outbytesleft); size_t (*push)(void *, char **inbuf, size_t *inbytesleft, @@ -357,8 +357,8 @@ static size_t ucs2hex_push(void *cd, char **inbuf, size_t *inbytesleft, support and finding bugs. Don't use on a production system! */ static struct { - char from; - char *to; + const char from; + const char *to; int len; } weird_table[] = { {'q', "^q^", 3}, |