diff options
author | Joseph Myers <joseph@codesourcery.com> | 2014-12-11 13:15:08 -0800 |
---|---|---|
committer | Roland McGrath <roland@hack.frob.com> | 2014-12-11 13:15:08 -0800 |
commit | 47d51f4f0739a264579d8ea27cd58346b6402e1f (patch) | |
tree | 98365acc577665b713d9a2d605d1479c10282167 /localedata/tst-mbswcs1.c | |
parent | e9813cfb3d71675c87a16318b20642a366aff74c (diff) | |
download | glibc-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-mbswcs1.c')
-rw-r--r-- | localedata/tst-mbswcs1.c | 5 |
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) |