From a8aae47b28b4d0ce3000fe57544818d706cab71e Mon Sep 17 00:00:00 2001 From: dockes Date: Fri, 21 Oct 2005 12:15:30 +0000 Subject: [PATCH] fix args to iconv to get rid of warnings --- src/unac/unac.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/unac/unac.c b/src/unac/unac.c index 0e410ff3..91510e92 100644 --- a/src/unac/unac.c +++ b/src/unac/unac.c @@ -12731,7 +12731,7 @@ static int convert(const char* from, const char* to, return -1; } do { - if(iconv(cd, (ICONV_CONST char **) &in, &in_length, &out, &out_remain) == (size_t)-1) { + if(iconv(cd, &in, &in_length, &out, &out_remain) == (size_t)-1) { switch(errno) { case EILSEQ: /* @@ -12756,7 +12756,7 @@ static int convert(const char* from, const char* to, if(from_utf16) { const char* tmp = space; size_t tmp_length = 2; - if(iconv(cd, (ICONV_CONST char **) &tmp, &tmp_length, &out, &out_remain) == (size_t)-1) { + if(iconv(cd, &tmp, &tmp_length, &out, &out_remain) == (size_t)-1) { if(errno == E2BIG) /* fall thru to the E2BIG case below */; else