summaryrefslogtreecommitdiff
path: root/test/regex
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-06-19 01:19:21 +0000
committerMike Frysinger <vapier@gentoo.org>2006-06-19 01:19:21 +0000
commit6b02fa65c383978fb7a4cd50dd58235f36835aae (patch)
tree6d0fd4a4123bf86294ce022ec30f5b8ed65b14e9 /test/regex
parent133a5a43e996792a90d696f83bfb80202524e238 (diff)
touchup printf format to fix warning
Diffstat (limited to 'test/regex')
-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++;
}
}