summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2003-09-27 01:29:18 +0000
committerJeremy Allison <jra@samba.org>2003-09-27 01:29:18 +0000
commitfa7932296d65be2ffd0cd63a034e2c020ceaa8c5 (patch)
treefce60006f7b2c99d9f73109daf37cc65a3003ecd
parent05b178ab82748872bf9dc49887239ddf66ab49b2 (diff)
downloadsamba-fa7932296d65be2ffd0cd63a034e2c020ceaa8c5.tar.gz
samba-fa7932296d65be2ffd0cd63a034e2c020ceaa8c5.tar.bz2
samba-fa7932296d65be2ffd0cd63a034e2c020ceaa8c5.zip
iconv isn't const safe. Neither should smb_iconv be.
Jeremy. (This used to be commit 238bb74c16417140d85a304890b97e04df389ae9)
-rw-r--r--source3/lib/iconv.c2
1 files changed, 1 insertions, 1 deletions
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];