summaryrefslogtreecommitdiffstats
path: root/source/lib/iconv.c
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2005-04-18 16:08:52 +0000
committerGerald Carter <jerry@samba.org>2005-04-18 16:08:52 +0000
commit4bdbd8bd0742c2c6e4ef65d7030a710412ad6234 (patch)
treeb0b63f76422bf70560832976c5e4174f01c70fb0 /source/lib/iconv.c
parent65e71c35f782cb1c8a22c61e88f1f853b585b297 (diff)
downloadsamba-4bdbd8bd0742c2c6e4ef65d7030a710412ad6234.tar.gz
samba-4bdbd8bd0742c2c6e4ef65d7030a710412ad6234.tar.xz
samba-4bdbd8bd0742c2c6e4ef65d7030a710412ad6234.zip
r6369: update release notes
sync with SAMBA_3_0 (r6365). Getting ready for 3.0.15pre2
Diffstat (limited to 'source/lib/iconv.c')
-rw-r--r--source/lib/iconv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/lib/iconv.c b/source/lib/iconv.c
index d58165fed03..f23e4351c02 100644
--- a/source/lib/iconv.c
+++ b/source/lib/iconv.c
@@ -135,7 +135,7 @@ static size_t sys_iconv(void *cd,
{
#ifdef HAVE_NATIVE_ICONV
size_t ret = iconv((iconv_t)cd,
- (char **)inbuf, inbytesleft,
+ CONST_DISCARD(char **, inbuf), inbytesleft,
outbuf, outbytesleft);
if (ret == (size_t)-1) {
int saved_errno = errno;