From 9a2d7205aa046af3f4caf1b35388e9100e2a25db Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Mon, 30 Sep 2002 07:47:16 +0000 Subject: Fix format strings. --- posix/bug-regex12.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'posix/bug-regex12.c') diff --git a/posix/bug-regex12.c b/posix/bug-regex12.c index 2464991ad4..d5b5ef106e 100644 --- a/posix/bug-regex12.c +++ b/posix/bug-regex12.c @@ -52,7 +52,7 @@ main (void) { char buf[500]; regerror (n, &re, buf, sizeof (buf)); - printf ("regcomp %d failed: %s\n", i, buf); + printf ("regcomp %zd failed: %s\n", i, buf); ret = 1; continue; } @@ -60,7 +60,7 @@ main (void) if (! regexec (&re, tests[i].string, tests[i].nmatch, tests[i].nmatch ? rm : NULL, 0)) { - printf ("regexec %d incorrectly matched\n", i); + printf ("regexec %zd incorrectly matched\n", i); ret = 1; } -- cgit 1.4.1