about summary refs log tree commit diff
path: root/iconvdata/tst-table-to.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-09-07 23:37:19 +0000
committerUlrich Drepper <drepper@redhat.com>2000-09-07 23:37:19 +0000
commit5f7d74ab7164aec66e2aa1d6884d62d403eddaa7 (patch)
treed550e33aef98c6e200a45641fc8ea4187517f9b6 /iconvdata/tst-table-to.c
parente39e69563a5046efc5ffb0385364fb0bc1095c43 (diff)
downloadglibc-5f7d74ab7164aec66e2aa1d6884d62d403eddaa7.tar.gz
glibc-5f7d74ab7164aec66e2aa1d6884d62d403eddaa7.tar.xz
glibc-5f7d74ab7164aec66e2aa1d6884d62d403eddaa7.zip
Update.
	* iconvdata/tst-table-to.c (main): Correct cast in iconv call.
	* iconvdata/tst-table-from.c: Include <string.h>.
	(try): Correct cast in iconv call.
Diffstat (limited to 'iconvdata/tst-table-to.c')
-rw-r--r--iconvdata/tst-table-to.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/iconvdata/tst-table-to.c b/iconvdata/tst-table-to.c
index b725f1f52e..329ba4ad0f 100644
--- a/iconvdata/tst-table-to.c
+++ b/iconvdata/tst-table-to.c
@@ -59,7 +59,7 @@ main (int argc, char *argv[])
 	char *outbuf = (char *) buf;
 	size_t outbytesleft = sizeof (buf);
 	size_t result = iconv (cd,
-			       (char *) &inbuf, &inbytesleft,
+			       (char **) &inbuf, &inbytesleft,
 			       &outbuf, &outbytesleft);
 	if (result == (size_t)(-1))
 	  {