From 5af178dee33b22cf189c085e41ca96423f809034 Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Fri, 2 Sep 2016 01:31:17 -0400 Subject: Code to convert between text and internal forms of UUIDs. Includes a few cosmetic fixes to address gcc format string warnings and git trailing whitespace warnings. --- tests/test-bus.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/test-bus.c') diff --git a/tests/test-bus.c b/tests/test-bus.c index b4a3e1c..94d7a70 100644 --- a/tests/test-bus.c +++ b/tests/test-bus.c @@ -68,7 +68,8 @@ static int sanity(const hal_core_t *board_core) } if (data != rnd) { - printf("Data bus fail: expected %08x, got %08x, diff %08x\n", rnd, data, data ^ rnd); + printf("Data bus fail: expected %08lx, got %08lx, diff %08lx\n", + (unsigned long) rnd, (unsigned long) data, (unsigned long) (data ^ rnd)); return 1; } -- cgit v1.2.3