From e8cf81fdb3fdaef59b49da8f6e952a3225ab326e Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 6 May 2016 14:44:08 +0000 Subject: fixing compiler warnings --- src/dht/gnunet-service-xdht_clients.c | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'src/dht/gnunet-service-xdht_clients.c') diff --git a/src/dht/gnunet-service-xdht_clients.c b/src/dht/gnunet-service-xdht_clients.c index 3475d00c9..bc5504ebe 100644 --- a/src/dht/gnunet-service-xdht_clients.c +++ b/src/dht/gnunet-service-xdht_clients.c @@ -318,13 +318,18 @@ send_reply_to_client (void *cls, size_t size, void *buf) reply); memcpy (&cbuf[off], reply->msg, msize); GNUNET_free (reply); - GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Transmitting %u bytes to client %p\n", - msize, client->client_handle); + GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, + "Transmitting %u bytes to client %p\n", + (unsigned int) msize, + client->client_handle); off += msize; } process_pending_messages (client); - GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Transmitted %u/%u bytes to client %p\n", - (unsigned int) off, (unsigned int) size, client->client_handle); + GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, + "Transmitted %u/%u bytes to client %p\n", + (unsigned int) off, + (unsigned int) size, + client->client_handle); return off; } -- cgit v1.2.3