gnunet-svn
[Top][All Lists]
Advanced

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

[gnunet] branch master updated: -fix compiler warnings


From: gnunet
Subject: [gnunet] branch master updated: -fix compiler warnings
Date: Wed, 12 May 2021 16:56:02 +0200

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

martin-schanzenbach pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new 5087e28bb -fix compiler warnings
5087e28bb is described below

commit 5087e28bb336fca805a92af1b51c881f37f4f3c8
Author: Martin Schanzenbach <mschanzenbach@posteo.de>
AuthorDate: Wed May 12 16:53:40 2021 +0200

    -fix compiler warnings
---
 src/transport/gnunet-communicator-udp.c | 20 ++++++++++----------
 src/transport/gnunet-service-tng.c      |  5 +++--
 2 files changed, 13 insertions(+), 12 deletions(-)

diff --git a/src/transport/gnunet-communicator-udp.c 
b/src/transport/gnunet-communicator-udp.c
index fa9bb5d0a..ef7b1d6c0 100644
--- a/src/transport/gnunet-communicator-udp.c
+++ b/src/transport/gnunet-communicator-udp.c
@@ -2691,8 +2691,8 @@ check_for_rekeying (struct ReceiverAddress *receiver, 
struct UDPBox *box)
   struct GNUNET_TIME_Relative rt;
 
   GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
-              "Timeout is %lu\n.",
-              receiver->rekey_timeout.abs_value_us);
+              "Timeout is %llu\n.",
+              (unsigned long long) receiver->rekey_timeout.abs_value_us);
 
   if (0 == receiver->rekey_timeout.abs_value_us)
   {
@@ -2703,21 +2703,21 @@ check_for_rekeying (struct ReceiverAddress *receiver, 
struct UDPBox *box)
   {
     rt = GNUNET_TIME_absolute_get_remaining (receiver->rekey_timeout);
     GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
-                "Relative time is %lu and timeout is %lu\n.",
-                rt.rel_value_us,
-                receiver->rekey_timeout.abs_value_us);
+                "Relative time is %llu and timeout is %llu\n.",
+                (unsigned long long) rt.rel_value_us,
+                (unsigned long long) receiver->rekey_timeout.abs_value_us);
 
     if ((0 == rt.rel_value_us) || (receiver->rekey_send_bytes >
                                    rekey_max_bytes) )
     {
       GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
-                  "Bytes send %lu greater than %llu max bytes\n.",
-                  receiver->rekey_send_bytes,
+                  "Bytes send %llu greater than %llu max bytes\n.",
+                  (unsigned long long) receiver->rekey_send_bytes,
                   rekey_max_bytes);
       GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
-                  "Relative time is %lu and timeout is %lu\n.",
-                  rt.rel_value_us,
-                  receiver->rekey_timeout.abs_value_us);
+                  "Relative time is %llu and timeout is %llu\n.",
+                  (unsigned long long) rt.rel_value_us,
+                  (unsigned long long) receiver->rekey_timeout.abs_value_us);
 
       receiver->rekey_timeout.abs_value_us = 0;
       receiver->rekey_send_bytes = 0;
diff --git a/src/transport/gnunet-service-tng.c 
b/src/transport/gnunet-service-tng.c
index 613477220..e6e93e3b6 100644
--- a/src/transport/gnunet-service-tng.c
+++ b/src/transport/gnunet-service-tng.c
@@ -9069,8 +9069,9 @@ handle_send_message_ack (void *cls,
          qep = qep->next)
     {
       GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
-                  "QueueEntry MID: %lu, Ack MID: %lu\n",
-                  qep->mid, sma->mid);
+                  "QueueEntry MID: %llu, Ack MID: %llu\n",
+                  (unsigned long long) qep->mid,
+                  (unsigned long long) sma->mid);
       if (qep->mid != sma->mid)
         continue;
       qe = qep;

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