gnunet-svn
[Top][All Lists]
Advanced

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

[gnunet] branch master updated: -rps: make format strings more portable


From: gnunet
Subject: [gnunet] branch master updated: -rps: make format strings more portable
Date: Mon, 07 Dec 2020 17:02:37 +0100

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

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

The following commit(s) were added to refs/heads/master by this push:
     new 61f7bf618 -rps: make format strings more portable
61f7bf618 is described below

commit 61f7bf618b336c4d9349067ececdd7e5f051d67c
Author: Julius Bünger <buenger@mytum.de>
AuthorDate: Mon Dec 7 17:00:09 2020 +0100

    -rps: make format strings more portable
---
 src/rps/rps-test_util.c | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/rps/rps-test_util.c b/src/rps/rps-test_util.c
index b73be3457..497225973 100644
--- a/src/rps/rps-test_util.c
+++ b/src/rps/rps-test_util.c
@@ -186,9 +186,9 @@ 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: %zu, size_written: %zu)\n",
-         size_buf,
-         size_written);
+         "Unable to write to file! (Size: %llu, size_written: %llu)\n",
+         (unsigned long long) size_buf,
+         (unsigned long long) size_written);
 
     if (GNUNET_YES != GNUNET_DISK_file_close (f))
       LOG (GNUNET_ERROR_TYPE_WARNING,
@@ -197,8 +197,8 @@ to_file_raw (const char *file_name, const char *buf, size_t 
size_buf)
     return;
   }
   LOG (GNUNET_ERROR_TYPE_WARNING,
-       "Wrote %zu bytes raw.\n",
-       size_written);
+       "Wrote %llu bytes raw.\n",
+       (unsigned long long) size_written);
   if (GNUNET_YES != GNUNET_DISK_file_close (f))
     LOG (GNUNET_ERROR_TYPE_WARNING,
          "Unable to close file\n");
@@ -238,8 +238,8 @@ 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: %zu, bits_needed: %u -> iter: %u\n",
-       size_buf,
+       "ua args: size_buf: %llu, bits_needed: %u -> iter: %u\n",
+       (unsigned long long) size_buf,
        bits_needed,
        bytes_iter);
   buf_write[0] = buf_unaligned;

-- 
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]