about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--iconvdata/bug-iconv11.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index e5d46bcf3b..679aa7b535 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
+
+	* iconvdata/bug-iconv11.c (test_ibm93x):
+	Use %zu printf format specifier for size_t argument.
+
 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
 
 	* math/gen-libm-test.pl (parse_ulps): Do not reduce
diff --git a/iconvdata/bug-iconv11.c b/iconvdata/bug-iconv11.c
index 6cdc07d798..5b9d9a36af 100644
--- a/iconvdata/bug-iconv11.c
+++ b/iconvdata/bug-iconv11.c
@@ -56,7 +56,7 @@ test_ibm93x (const char *from_set, const char *input, size_t inbytesleft)
 
   errno = 0;
   size_t ret = iconv (cd, &inbuf, &inbytesleft, &outbuf, &outbytesleft);
-  printf ("  ==> %td: %s\n"
+  printf ("  ==> %zu: %s\n"
           "  inbuf%+td, inbytesleft=%zu, outbuf%+td, outbytesleft=%zu\n",
           ret, strerror (errno),
           inbuf - input, inbytesleft, outbuf - output, outbytesleft);