From 81f28d26247891ffe348b195911472ea65d8ea83 Mon Sep 17 00:00:00 2001 From: David Lamparter Date: Fri, 16 Dec 2016 00:14:55 +0100 Subject: [PATCH] tests: fix mis-fixed format string PRIu64 is "u", we need "x", so PRIx64... Signed-off-by: David Lamparter Cc: Donald Sharp [cherry-picked from master eed831e065694b3746896b126f6ad47548ea9dc0] --- tests/test-stream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test-stream.c b/tests/test-stream.c index 7ef6374756..3ac45eb203 100644 --- a/tests/test-stream.c +++ b/tests/test-stream.c @@ -70,7 +70,7 @@ main (void) printf ("c: 0x%hhx\n", stream_getc (s)); printf ("w: 0x%hx\n", stream_getw (s)); printf ("l: 0x%x\n", stream_getl (s)); - printf ("q: 0x%" PRIu64 "\n", stream_getq (s)); + printf ("q: 0x%" PRIx64 "\n", stream_getq (s)); return 0; } -- 2.39.5