]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
lib: Fix the 32-bit build
authorVolker Lendecke <vl@samba.org>
Fri, 22 Jul 2022 17:25:20 +0000 (19:25 +0200)
committerJeremy Allison <jra@samba.org>
Sat, 23 Jul 2022 23:29:38 +0000 (23:29 +0000)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
lib/compression/testsuite.c

index 708af2bcbf1493ee64fbd829f6e60f187d959199..d4dc41bdb199d438d907f33203127b4edaee6bbc 100644 (file)
@@ -396,7 +396,7 @@ static bool test_lzxpress_many_zeros(struct torture_context *test)
        elapsed_ns = (
                (t_end.tv_sec - t_start.tv_sec) * 1000U * 1000U * 1000U) +
                (t_end.tv_nsec - t_start.tv_nsec);
-       torture_comment(test, "round-trip time: %lu ns\n", elapsed_ns);
+       torture_comment(test, "round-trip time: %"PRIu64" ns\n", elapsed_ns);
        torture_assert(test, elapsed_ns < 3 * 1000U * 1000U * 1000U,
                       "million zeros round trip tool > 3 seconds");
        torture_assert_mem_equal(test, decomp, zeros, N_ZEROS,