mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
tftpd: fix the build of tests on i386 after 330696
It's those darn printf format specifiers again Reported by: cy, kibab MFC after: 20 days X-MFC-With: 330696
This commit is contained in:
parent
be3d357e23
commit
f270fabc2b
1 changed files with 2 additions and 2 deletions
|
|
@ -248,10 +248,10 @@ require_bufeq(const char *expected, ssize_t expected_len, const char *actual,
|
|||
ssize_t i;
|
||||
|
||||
ATF_REQUIRE_EQ_MSG(expected_len, len,
|
||||
"Expected %ld bytes but got %ld", expected_len, len);
|
||||
"Expected %zd bytes but got %zd", expected_len, len);
|
||||
for (i = 0; i < len; i++) {
|
||||
ATF_REQUIRE_EQ_MSG(actual[i], expected[i],
|
||||
"Expected %#hhx at position %ld; got %hhx instead",
|
||||
"Expected %#hhx at position %zd; got %hhx instead",
|
||||
expected[i], i, actual[i]);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue