summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/regex/testregex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/regex/testregex.c b/test/regex/testregex.c
index 4191f2b0d..3be8680db 100644
--- a/test/regex/testregex.c
+++ b/test/regex/testregex.c
@@ -1863,7 +1863,7 @@ main(int argc, char** argv)
else
{
report("re_nsub incorrect", fun, re, NiL, -1, msg, flags, test);
- printf("at least %d expected, %d returned\n", nsub, preg.re_nsub);
+ printf("at least %d expected, %zd returned\n", nsub, preg.re_nsub);
state.errors++;
}
}