From 607211bb755160fd5744d6ea6124dadecf4a9e18 Mon Sep 17 00:00:00 2001 From: Julius Bünger Date: Mon, 16 Nov 2020 22:55:49 +0100 Subject: rps: use correct types in format strings --- src/rps/rps-test_util.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/rps/rps-test_util.c b/src/rps/rps-test_util.c index d2cdd3aa7..b73be3457 100644 --- a/src/rps/rps-test_util.c +++ b/src/rps/rps-test_util.c @@ -186,7 +186,7 @@ to_file_raw (const char *file_name, const char *buf, size_t size_buf) if (size_buf != size_written) { LOG (GNUNET_ERROR_TYPE_WARNING, - "Unable to write to file! (Size: %u, size_written: %u)\n", + "Unable to write to file! (Size: %zu, size_written: %zu)\n", size_buf, size_written); @@ -197,7 +197,7 @@ to_file_raw (const char *file_name, const char *buf, size_t size_buf) return; } LOG (GNUNET_ERROR_TYPE_WARNING, - "Wrote %u bytes raw.\n", + "Wrote %zu bytes raw.\n", size_written); if (GNUNET_YES != GNUNET_DISK_file_close (f)) LOG (GNUNET_ERROR_TYPE_WARNING, @@ -238,7 +238,7 @@ to_file_raw_unaligned (const char *file_name, "num_bits_buf_unaligned: %u\n", num_bits_buf_unaligned); LOG (GNUNET_ERROR_TYPE_DEBUG, - "ua args: size_buf: %u, bits_needed: %u -> iter: %u\n", + "ua args: size_buf: %zu, bits_needed: %u -> iter: %u\n", size_buf, bits_needed, bytes_iter); -- cgit v1.2.3