Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libintl follow the recent iconv(3) prototype change.



details:   https://anonhg.NetBSD.org/src/rev/29830123c232
branches:  trunk
changeset: 568835:29830123c232
user:      yamt <yamt%NetBSD.org@localhost>
date:      Mon Aug 02 03:15:33 2004 +0000

description:
follow the recent iconv(3) prototype change.

diffstat:

 lib/libintl/gettext_iconv.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 7eb9a0549754 -r 29830123c232 lib/libintl/gettext_iconv.c
--- a/lib/libintl/gettext_iconv.c       Mon Aug 02 03:06:17 2004 +0000
+++ b/lib/libintl/gettext_iconv.c       Mon Aug 02 03:15:33 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: gettext_iconv.c,v 1.5 2004/03/13 04:58:04 uebayasi Exp $       */
+/*     $NetBSD: gettext_iconv.c,v 1.6 2004/08/02 03:15:33 yamt Exp $   */
 
 /*-
  * Copyright (c) 2004 Citrus Project,
@@ -178,7 +178,7 @@
        srclen = origlen;
        dst = buffer;
        dstlen = bufferlen;
-       nvalid = iconv(cd, &src, &srclen, &dst, &dstlen);
+       nvalid = iconv(cd, (char **)&src, &srclen, &dst, &dstlen);
        iconv_close(cd);
 
        if (nvalid == (size_t)-1) {



Home | Main Index | Thread Index | Old Index