[Bug 210326] Multiple errors in libxo ATF tests on i386
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Jun 29 01:35:49 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210326
--- Comment #2 from Phil Shafer <phil at freebsd.org> ---
Turns out the test driver was using "%ju" and not casting the arguments. Fix
is:
diff --git a/tests/core/test_02.c b/tests/core/test_02.c
index 9a02680..cf98d34 100644
--- a/tests/core/test_02.c
+++ b/tests/core/test_02.c
@@ -70,7 +70,7 @@ main (int argc, char **argv)
xo_emit(" {:lines/%7ju} {:words/%7ju} "
"{:characters/%7ju} {d:filename/%s}\n",
- 20, 30, 40, "file");
+ (uintmax_t) 20, (uintmax_t) 30, (uintmax_t) 40, "file");
int i;
for (i = 0; i < 5; i++)
The fix is in github. I'll spin a release and then import it to freebsd.
Thanks,
Phil
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the freebsd-i386
mailing list