about summary refs log tree commit diff
path: root/posix/bug-regex11.c
diff options
context:
space:
mode:
Diffstat (limited to 'posix/bug-regex11.c')
-rw-r--r--posix/bug-regex11.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/posix/bug-regex11.c b/posix/bug-regex11.c
index 5c8179d675..d6fc4153e2 100644
--- a/posix/bug-regex11.c
+++ b/posix/bug-regex11.c
@@ -58,14 +58,14 @@ 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;
 	}
 
       if (regexec (&re, tests[i].string, tests[i].nmatch, rm, 0))
 	{
-	  printf ("regexec %d failed\n", i);
+	  printf ("regexec %zd failed\n", i);
 	  ret = 1;
 	  regfree (&re);
 	  continue;