From 97e94e491a3d0ec2bd2c2788e191e749684571ad Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 15 Mar 1999 23:57:45 +0000 Subject: Update. 1999-03-15 Ulrich Drepper * iconv/iconv.c (iconv): Correctly cast parameters for __gconv. * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Change type of outbuf to unsigned char to avoid warning. --- iconv/iconv.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'iconv') diff --git a/iconv/iconv.c b/iconv/iconv.c index 26fb4177f8..a6c84367a7 100644 --- a/iconv/iconv.c +++ b/iconv/iconv.c @@ -1,6 +1,6 @@ /* Convert characters in input buffer using conversion descriptor to output buffer. - Copyright (C) 1997, 1998 Free Software Foundation, Inc. + Copyright (C) 1997, 1998, 1999 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper , 1997. @@ -46,8 +46,8 @@ iconv (iconv_t cd, const char **inbuf, size_t *inbytesleft, char **outbuf, { const char *instart = *inbuf; - result = __gconv (gcd, (unsigned char **) inbuf, - (unsigned char *) (*inbuf + *inbytesleft), + result = __gconv (gcd, (const unsigned char **) inbuf, + (const unsigned char *) (*inbuf + *inbytesleft), (unsigned char **) outbuf, (unsigned char *) (*outbuf + *outbytesleft), &converted); -- cgit v1.2.3