From a7122331c514b3ad6b3688ba788c4de33f6f8c9a Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Sat, 17 Jun 2017 03:46:42 +0200 Subject: [PATCH] tests: another format string fix --- tests/unit/list.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/list.c b/tests/unit/list.c index 09f329219..2a1c98b24 100644 --- a/tests/unit/list.c +++ b/tests/unit/list.c @@ -144,7 +144,7 @@ Test(list, basics) for (size_t j = 0, i = 99; j < list_length(&l); j++) { void *k = list_at(&l, j); - cr_assert_eq(k, (void *) i, "Is %p, expected %p", i, k); + cr_assert_eq(k, (void *) i, "Is %#zx, expected %p", i, k); i--; }