From 0853cb6f86c1c5e3c48520089d7a274aadb7fade Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 23 Dec 2013 21:14:26 +0000 Subject: -fix printf --- AUTHORS | 10 ++++++---- src/ats/gnunet-service-ats_addresses.c | 9 +++++---- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/AUTHORS b/AUTHORS index 870282a40..d21b6e333 100644 --- a/AUTHORS +++ b/AUTHORS @@ -10,20 +10,22 @@ Alejandra Morales Andreas Fuchs Bart Polot Bruno Cabral +Christian Fuchs Christian Grothoff Claudiu Olteanu David Barksdale Fabian Oehlmann Florian Dold +Gabor X Toth LRN +Martin Schanzenbach Matthias Wachs +Maximilian Szengel Nils Durner Simon Dieterle Sree Harsha Totakura --- http://sreeharsha.totakura.in/ -Martin Schanzenbach -Maximilian Szengel -Christian Fuchs -Gabor X Toth +Stephan A. Posselt +Werner Koch Code contributions also came from: Adam Warrington [ UPnP ] diff --git a/src/ats/gnunet-service-ats_addresses.c b/src/ats/gnunet-service-ats_addresses.c index 2cdc12766..f52d1d7fd 100644 --- a/src/ats/gnunet-service-ats_addresses.c +++ b/src/ats/gnunet-service-ats_addresses.c @@ -1383,10 +1383,11 @@ eval_sum_bw_used (void *cls, const struct GNUNET_PeerIdentity *id, void *obj) ctx->bandwidth_out_assigned[c] += ntohl (addr->assigned_bw_out.value__); } } - GNUNET_log (GNUNET_ERROR_TYPE_INFO, "Active address in %s with (in/out) %llu/%llu Bps\n", - GNUNET_ATS_print_network_type(net), - ntohl (addr->assigned_bw_in.value__), - ntohl (addr->assigned_bw_out.value__)); + GNUNET_log (GNUNET_ERROR_TYPE_INFO, + "Active address in %s with (in/out) %u/%u Bps\n", + GNUNET_ATS_print_network_type (net), + (unsigned int) ntohl (addr->assigned_bw_in.value__), + (unsigned int) ntohl (addr->assigned_bw_out.value__)); } return GNUNET_OK; } -- cgit v1.2.3