about summary refs log tree commit diff
path: root/localedata/tst-mbswcs3.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-mbswcs3.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-mbswcs3.c')
-rw-r--r--localedata/tst-mbswcs3.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/localedata/tst-mbswcs3.c b/localedata/tst-mbswcs3.c
index a068541a7c..ef18a98699 100644
--- a/localedata/tst-mbswcs3.c
+++ b/localedata/tst-mbswcs3.c
@@ -25,13 +25,13 @@
 #define show(expr, nexp, srcexp, bufexp) \
   {									\
     size_t res = expr;							\
-    printf (#expr " -> %Zd", res);					\
+    printf (#expr " -> %zu", res);					\
     dst += res;								\
     printf (", src = srcbuf+%td, dst = buf+%td",			\
 	    src - srcbuf, dst - (char *) buf);				\
     if (res != nexp || src != (srcexp) || dst != (char *) (bufexp))	\
       {									\
-	printf (", expected %Zd and srcbuf+%td and buf+%td", nexp,	\
+	printf (", expected %zu and srcbuf+%td and buf+%td", (size_t) nexp, \
 		(srcexp) - srcbuf, (bufexp) - (unsigned char *) buf);	\
 	result = 1;							\
       }									\