From 76d74cfb7c11764bd4df0611653190f87e56eefc Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Tue, 4 Oct 2011 12:06:45 +1030 Subject: [PATCH] tdb2: fix test printf for 64 bit. Very minor fix, since this won't happen unless the test fails. --- ccan/tdb2/test/api-check-callback.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ccan/tdb2/test/api-check-callback.c b/ccan/tdb2/test/api-check-callback.c index fb980f22..1ea263d3 100644 --- a/ccan/tdb2/test/api-check-callback.c +++ b/ccan/tdb2/test/api-check-callback.c @@ -26,7 +26,7 @@ static enum TDB_ERROR check(struct tdb_data key, int val; if (key.dsize != sizeof(val)) { - diag("Wrong key size: %u\n", key.dsize); + diag("Wrong key size: %zu\n", key.dsize); return TDB_ERR_CORRUPT; } -- 2.39.2