follow the recent iconv(3) prototype change.

This commit is contained in:
yamt 2004-08-02 03:15:33 +00:00
parent 92a2a37f74
commit dc8be105a2
1 changed files with 2 additions and 2 deletions

View File

@ -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 @@ again:
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) {