From 7cc4fa45f062262d8d35940c04891c54be2e92bb Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 23 Jun 2016 19:04:59 +0000 Subject: [PATCH] -fix format string type issue --- src/dv/gnunet-service-dv.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/dv/gnunet-service-dv.c b/src/dv/gnunet-service-dv.c index df95fd67b..fd51a8562 100644 --- a/src/dv/gnunet-service-dv.c +++ b/src/dv/gnunet-service-dv.c @@ -617,7 +617,7 @@ core_transmit_notify (void *cls, size_t size, void *buf) { 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 @@ core_transmit_notify (void *cls, size_t size, void *buf) } 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 @@ handle_dv_route_message (void *cls, 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, -- 2.25.1