gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r37337 - gnunet/src/dv


From: gnunet
Subject: [GNUnet-SVN] r37337 - gnunet/src/dv
Date: Thu, 23 Jun 2016 21:04:59 +0200

Author: grothoff
Date: 2016-06-23 21:04:59 +0200 (Thu, 23 Jun 2016)
New Revision: 37337

Modified:
   gnunet/src/dv/gnunet-service-dv.c
Log:
-fix format string type issue

Modified: gnunet/src/dv/gnunet-service-dv.c
===================================================================
--- gnunet/src/dv/gnunet-service-dv.c   2016-06-23 19:00:34 UTC (rev 37336)
+++ gnunet/src/dv/gnunet-service-dv.c   2016-06-23 19:04:59 UTC (rev 37337)
@@ -617,7 +617,7 @@
     {
       GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
                   "Acking transmission of %u bytes to %s with plugin\n",
-                  msize,
+                  (unsigned int) msize,
                   GNUNET_i2s (&pending->next_target));
       send_ack_to_plugin (&pending->next_target,
                          pending->uid,
@@ -628,7 +628,7 @@
   }
   GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
              "Transmitting total of %u bytes to %s\n",
-             off,
+             (unsigned int) off,
              GNUNET_i2s (&dn->peer));
   GNUNET_assert (NULL != core_api);
   if (NULL != pending)
@@ -1761,7 +1761,7 @@
   prev[4] = me[4] = src[4] = dst[4] = '\0';
   GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
              "Handling DV message with %u bytes payload of type %u from %s to 
%s routed by %s to me (%s @ hop %u)\n",
-              ntohs (message->size) - sizeof (struct RouteMessage),
+              (unsigned int) (ntohs (message->size) - sizeof (struct 
RouteMessage)),
               ntohs (payload->type),
               src, dst,
               prev, me,




reply via email to

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