diff options
Diffstat (limited to 'localedata/tst-mbswcs2.c')
-rw-r--r-- | localedata/tst-mbswcs2.c | 6 |
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; \ } \ |