diff --git a/lib/ntdb/test/api-check-callback.c b/lib/ntdb/test/api-check-callback.c index 0263f616da5..b5ca8a057c1 100644 --- a/lib/ntdb/test/api-check-callback.c +++ b/lib/ntdb/test/api-check-callback.c @@ -27,7 +27,7 @@ static enum NTDB_ERROR check(NTDB_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 NTDB_ERR_CORRUPT; }