From e573146ab22ba7e286746965a0fea8be00f43fbd Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 16 Mar 1999 06:01:43 +0000 Subject: Update. 1999-03-16 Andreas Jaeger * iconv/gconv.c (__gconv): Change type of last_start to unsigned char to avoid warning. --- ChangeLog | 5 +++++ iconv/gconv.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) 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; -- cgit v1.1