about summary refs log tree commit diff
path: root/iconv
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-03-15 23:57:45 +0000
committerUlrich Drepper <drepper@redhat.com>1999-03-15 23:57:45 +0000
commit97e94e491a3d0ec2bd2c2788e191e749684571ad (patch)
treeefadbafadce37a5d3aa5756dd6dd0d21572129d4 /iconv
parent2c8aeff8bb08761e5d09c5ffa09026cc46a8761e (diff)
downloadglibc-97e94e491a3d0ec2bd2c2788e191e749684571ad.tar.gz
glibc-97e94e491a3d0ec2bd2c2788e191e749684571ad.tar.xz
glibc-97e94e491a3d0ec2bd2c2788e191e749684571ad.zip
Update.
1999-03-15  Ulrich Drepper  <drepper@cygnus.com>

	* iconv/iconv.c (iconv): Correctly cast parameters for __gconv.

	* iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Change type of
	outbuf to unsigned char to avoid warning.
Diffstat (limited to 'iconv')
-rw-r--r--iconv/iconv.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/iconv/iconv.c b/iconv/iconv.c
index 26fb4177f8..a6c84367a7 100644
--- a/iconv/iconv.c
+++ b/iconv/iconv.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.
 
@@ -46,8 +46,8 @@ iconv (iconv_t cd, const char **inbuf, size_t *inbytesleft, char **outbuf,
     {
       const char *instart = *inbuf;
 
-      result = __gconv (gcd, (unsigned char **) inbuf,
-			(unsigned char *)  (*inbuf + *inbytesleft),
+      result = __gconv (gcd, (const unsigned char **) inbuf,
+			(const unsigned char *)  (*inbuf + *inbytesleft),
 			(unsigned char **) outbuf,
 			(unsigned char *) (*outbuf + *outbytesleft),
 			&converted);