about summary refs log tree commit diff
path: root/iconvdata/bug-iconv2.c
diff options
context:
space:
mode:
Diffstat (limited to 'iconvdata/bug-iconv2.c')
-rw-r--r--iconvdata/bug-iconv2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/iconvdata/bug-iconv2.c b/iconvdata/bug-iconv2.c
index a2bf44f419..4bd45507ab 100644
--- a/iconvdata/bug-iconv2.c
+++ b/iconvdata/bug-iconv2.c
@@ -38,7 +38,7 @@ main (void)
     exit (1);
 
   puts ("This used to crash");
-  printf ("%d\n", iconv (cd_a, &from, &from_left, &to, &to_left));
+  printf ("%zd\n", iconv (cd_a, &from, &from_left, &to, &to_left));
   iconv_close (cd_a);
 
   puts ("works now");