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