From: Ulrich Drepper Date: Tue, 16 Mar 1999 06:01:43 +0000 (+0000) Subject: Update. X-Git-Tag: cvs/libc-as-990319~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e573146ab22ba7e286746965a0fea8be00f43fbd;p=platform%2Fupstream%2Fglibc.git Update. 1999-03-16 Andreas Jaeger * iconv/gconv.c (__gconv): Change type of last_start to unsigned char to avoid warning. --- diff --git a/ChangeLog b/ChangeLog index d8ed3b4..3f17ed7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +1999-03-16 Andreas Jaeger + + * iconv/gconv.c (__gconv): Change type of last_start to unsigned + char to avoid warning. + 1999-03-15 Ulrich Drepper * iconv/iconv.c (iconv): Correctly cast parameters for __gconv. diff --git a/iconv/gconv.c b/iconv/gconv.c index 9022fc3..14398e2 100644 --- a/iconv/gconv.c +++ b/iconv/gconv.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. @@ -45,7 +45,7 @@ __gconv (gconv_t cd, const unsigned char **inbuf, const unsigned char *inbufend, (cd->steps, cd->data, NULL, NULL, converted, 1)); else { - const char *last_start; + const unsigned char *last_start; assert (outbuf != NULL && *outbuf != NULL); cd->data[last_step].outbuf = *outbuf;