summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJulius Bünger <buenger@mytum.de>2020-11-16 22:55:49 +0100
committerJulius Bünger <buenger@mytum.de>2020-11-16 22:55:49 +0100
commit607211bb755160fd5744d6ea6124dadecf4a9e18 (patch)
tree1f97e9978a1ceae54f4041f25141afff4fc9c709 /src
parent0108f132a418aa48222e2798dba4de38de8dfef5 (diff)
rps: use correct types in format strings
Diffstat (limited to 'src')
-rw-r--r--src/rps/rps-test_util.c6
1 files 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);