summaryrefslogtreecommitdiffstats
path: root/source/lib/iconv.c
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2005-06-21 03:51:54 +0000
committerGerald Carter <jerry@samba.org>2005-06-21 03:51:54 +0000
commitd8568a71b16173f22bd894d18dfc5c4a23650904 (patch)
treec3ca0b3ae8d2ac8d88bdab1150ed76626e43cfd4 /source/lib/iconv.c
parentc2d4b6133d071152272fccec0f015c7edd175074 (diff)
downloadsamba-d8568a71b16173f22bd894d18dfc5c4a23650904.tar.gz
samba-d8568a71b16173f22bd894d18dfc5c4a23650904.tar.xz
samba-d8568a71b16173f22bd894d18dfc5c4a23650904.zip
r7791: sync with SAMBA_3_0 branch as of r7789. Geting ready for 3.0.20pre1
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 f23e4351c02..d58165fed03 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,
- CONST_DISCARD(char **, inbuf), inbytesleft,
+ (char **)inbuf, inbytesleft,
outbuf, outbytesleft);
if (ret == (size_t)-1) {
int saved_errno = errno;