From fa7932296d65be2ffd0cd63a034e2c020ceaa8c5 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Sat, 27 Sep 2003 01:29:18 +0000 Subject: iconv isn't const safe. Neither should smb_iconv be. Jeremy. (This used to be commit 238bb74c16417140d85a304890b97e04df389ae9) --- source3/lib/iconv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/lib/iconv.c b/source3/lib/iconv.c index 3d26d7e17c..0326ca7061 100644 --- a/source3/lib/iconv.c +++ b/source3/lib/iconv.c @@ -136,7 +136,7 @@ static size_t sys_iconv(void *cd, * enough that Samba works on systems that don't have iconv. **/ size_t smb_iconv(smb_iconv_t cd, - const char **inbuf, size_t *inbytesleft, + char **inbuf, size_t *inbytesleft, char **outbuf, size_t *outbytesleft) { char cvtbuf[2048]; -- cgit