summary refs log tree commit diff
path: root/localedata/tst-mbswcs2.c
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2014-12-11 13:15:08 -0800
committerRoland McGrath <roland@hack.frob.com>2014-12-11 13:15:08 -0800
commit47d51f4f0739a264579d8ea27cd58346b6402e1f (patch)
tree98365acc577665b713d9a2d605d1479c10282167 /localedata/tst-mbswcs2.c
parente9813cfb3d71675c87a16318b20642a366aff74c (diff)
downloadglibc-47d51f4f0739a264579d8ea27cd58346b6402e1f.tar.gz
glibc-47d51f4f0739a264579d8ea27cd58346b6402e1f.tar.xz
glibc-47d51f4f0739a264579d8ea27cd58346b6402e1f.zip
Clean up localedata tests printf formats, don't use -Wno-format.
Diffstat (limited to 'localedata/tst-mbswcs2.c')
-rw-r--r--localedata/tst-mbswcs2.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/localedata/tst-mbswcs2.c b/localedata/tst-mbswcs2.c
index 9cd95d6808..d0f502c4d3 100644
--- a/localedata/tst-mbswcs2.c
+++ b/localedata/tst-mbswcs2.c
@@ -24,12 +24,12 @@
 
 #define show(expr, nexp, wcexp, end) \
   n = expr;								\
-  printf (#expr " -> %Zd", n);						\
-  printf (", wc = %lu, src = buf+%d", (unsigned long int) wc,		\
+  printf (#expr " -> %zu", n);						\
+  printf (", wc = %lu, src = buf+%td", (unsigned long int) wc,		\
 	  src - (const char *) buf);					\
   if (n != (size_t) nexp || wc != wcexp || src != (const char *) (end))	\
     {									\
-      printf (", expected %Zd and %lu and buf+%d", nexp,		\
+      printf (", expected %zu and %lu and buf+%td", (size_t) nexp,	\
 	      (unsigned long int) wcexp, (end) - buf);			\
       result = 1;							\
     }									\