Commit 76d74cfb authored by Rusty Russell's avatar Rusty Russell

tdb2: fix test printf for 64 bit.

Very minor fix, since this won't happen unless the test fails.
parent 6e43d093
...@@ -26,7 +26,7 @@ static enum TDB_ERROR check(struct tdb_data key, ...@@ -26,7 +26,7 @@ static enum TDB_ERROR check(struct tdb_data key,
int val; int val;
if (key.dsize != sizeof(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; return TDB_ERR_CORRUPT;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment