summary refs log tree commit diff
path: root/localedata/tst-mbswcs1.c
diff options
context:
space:
mode:
Diffstat (limited to 'localedata/tst-mbswcs1.c')
-rw-r--r--localedata/tst-mbswcs1.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/localedata/tst-mbswcs1.c b/localedata/tst-mbswcs1.c
index 140482900f..15691dbb4f 100644
--- a/localedata/tst-mbswcs1.c
+++ b/localedata/tst-mbswcs1.c
@@ -24,11 +24,12 @@
 
 #define show(expr, nexp, wcexp) \
   n = expr;								  \
-  printf (#expr " -> %Zd", n);						  \
+  printf (#expr " -> %zu", n);						  \
   printf (", wc = %lu", (unsigned long int) wc);			  \
   if (n != (size_t) nexp || wc != wcexp)				  \
     {									  \
-      printf (", expected %Zd and %lu", nexp, (unsigned long int) wcexp); \
+      printf (", expected %zu and %lu", (size_t) nexp,			  \
+	      (unsigned long int) wcexp);				  \
       result = 1;							  \
     }									  \
   putc ('\n', stdout)