summaryrefslogtreecommitdiffstats
path: root/source/lib/iconv.c
diff options
context:
space:
mode:
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;