gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnunet] 02/05: rps: use correct types in format strings


From: gnunet
Subject: [gnunet] 02/05: rps: use correct types in format strings
Date: Mon, 16 Nov 2020 23:03:59 +0100

This is an automated email from the git hooks/post-receive script.

julius-buenger pushed a commit to branch master
in repository gnunet.

commit 607211bb755160fd5744d6ea6124dadecf4a9e18
Author: Julius B√ľnger <buenger@mytum.de>
AuthorDate: Mon Nov 16 22:55:49 2020 +0100

    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);

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]