X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Ftdb2%2Ftest%2Fapi-check-callback.c;h=1ea263d392d5ba94211393561cad5f06931d285c;hp=fb980f2276bd50ec111056d9c34286d88ee63d4b;hb=926996e88c32445c874ff9c4f47f159db6b45995;hpb=c4ca9f54301c0367891be6330f59fdd5dcdd51d1 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; }