tdb2: fix test printf for 64 bit.
[ccan] / ccan / tdb2 / test / api-check-callback.c
index fb980f2276bd50ec111056d9c34286d88ee63d4b..1ea263d392d5ba94211393561cad5f06931d285c 100644 (file)
@@ -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;
        }