aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--iconv/gconv.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index d8ed3b433b..3f17ed712f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
diff --git a/iconv/gconv.c b/iconv/gconv.c
index 9022fc3cb3..14398e2e37 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 <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;