1999-03-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* iconv/gconv.c (__gconv): Change type of last_start to unsigned
	char to avoid warning.
This commit is contained in:
Ulrich Drepper 1999-03-16 06:01:43 +00:00
parent 97e94e491a
commit e573146ab2
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
1999-03-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* iconv/gconv.c (__gconv): Change type of last_start to unsigned
char to avoid warning.
1999-03-15 Ulrich Drepper <drepper@cygnus.com>
* iconv/iconv.c (iconv): Correctly cast parameters for __gconv.

View File

@ -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 <drepper@cygnus.com>, 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;