aboutsummaryrefslogtreecommitdiff
path: root/iconvdata
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2012-11-02 20:04:52 +0100
committerAndreas Schwab <schwab@linux-m68k.org>2012-11-02 22:52:16 +0100
commitb5dcacb4502be39d30efd2f928b9a30c91eeb0d3 (patch)
treea1065ee9cb8539a2b2dd1075d71e58561a2e64cb /iconvdata
parentf7934be8f6bb5f47def626af7bd9098e8fb3e950 (diff)
downloadglibc-b5dcacb4502be39d30efd2f928b9a30c91eeb0d3.zip
glibc-b5dcacb4502be39d30efd2f928b9a30c91eeb0d3.tar.gz
glibc-b5dcacb4502be39d30efd2f928b9a30c91eeb0d3.tar.bz2
Fix printf format mismatches
Diffstat (limited to 'iconvdata')
-rw-r--r--iconvdata/bug-iconv8.c2
-rw-r--r--iconvdata/bug-iconv9.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/iconvdata/bug-iconv8.c b/iconvdata/bug-iconv8.c
index 54c6be2..b91dc1d 100644
--- a/iconvdata/bug-iconv8.c
+++ b/iconvdata/bug-iconv8.c
@@ -24,7 +24,7 @@ do_test (void)
ret = iconv(cd, &inbuf, &inbytesleft, &outbuf, &outbytesleft);
iconv_close(cd);
- printf("result: %ld %d %ld %d\n", ret, errno, inbytesleft, inbuf[0]);
+ printf("result: %zd %d %zd %d\n", ret, errno, inbytesleft, inbuf[0]);
/*
* result: -1 84 0 0 (84=EILSEQ)
diff --git a/iconvdata/bug-iconv9.c b/iconvdata/bug-iconv9.c
index e4ffd59..28f88d2 100644
--- a/iconvdata/bug-iconv9.c
+++ b/iconvdata/bug-iconv9.c
@@ -37,7 +37,7 @@ do_test (void)
}
if (in != inbuf + sizeof (inbuf) - 1)
{
- printf ("in advanced by %jd, expected %zu\n",
+ printf ("in advanced by %td, expected %zu\n",
in - inbuf, sizeof (inbuf) - 1);
res = 1;
}