mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-11 10:01:15 -04:00
silence compiler warnings
This commit is contained in:
parent
a3864ce373
commit
dac7bc0ef8
1 changed files with 4 additions and 3 deletions
|
|
@ -1073,6 +1073,7 @@ ATF_TC_BODY(regex_validate, tc) {
|
|||
unsigned int i;
|
||||
int r;
|
||||
|
||||
UNUSED(tc);
|
||||
|
||||
#ifdef HAVE_REGEX_H
|
||||
/*
|
||||
|
|
@ -1091,9 +1092,9 @@ ATF_TC_BODY(regex_validate, tc) {
|
|||
else if (r == 0 &&
|
||||
preg.re_nsub != (unsigned int)tests[i].expect &&
|
||||
!tests[i].exception) {
|
||||
fprintf(stderr, "%s preg.re_nsub %ld expected %d\n",
|
||||
tests[i].expression, preg.re_nsub,
|
||||
tests[i].expect);
|
||||
fprintf(stderr, "%s preg.re_nsub %lu expected %d\n",
|
||||
tests[i].expression,
|
||||
(unsigned long)preg.re_nsub, tests[i].expect);
|
||||
tests[i].expect = preg.re_nsub;
|
||||
}
|
||||
if (r == 0)
|
||||
|
|
|
|||
Loading…
Reference in a new issue