about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-03-16 06:01:43 +0000
committerUlrich Drepper <drepper@redhat.com>1999-03-16 06:01:43 +0000
commite573146ab22ba7e286746965a0fea8be00f43fbd (patch)
tree7d243ada25bc2137677260caa61c497d99f04c3d
parent97e94e491a3d0ec2bd2c2788e191e749684571ad (diff)
downloadglibc-e573146ab22ba7e286746965a0fea8be00f43fbd.tar.gz
glibc-e573146ab22ba7e286746965a0fea8be00f43fbd.tar.xz
glibc-e573146ab22ba7e286746965a0fea8be00f43fbd.zip
Update.
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.
-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;