From d4ab89faa8d364b3d4b96c223baef84c648bb206 Mon Sep 17 00:00:00 2001 From: Matthias Wachs Date: Mon, 10 Dec 2012 13:01:26 +0000 Subject: [PATCH] fix --- src/ats/gnunet-service-ats_performance.c | 12 ++++++------ src/ats/test_ats_api.conf | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/ats/gnunet-service-ats_performance.c b/src/ats/gnunet-service-ats_performance.c index 3249ed42a..684749f42 100644 --- a/src/ats/gnunet-service-ats_performance.c +++ b/src/ats/gnunet-service-ats_performance.c @@ -399,23 +399,23 @@ req_addr_peerinfo_it (void *cls, return; } GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, - "Callback for %s peer `%s' plugin `%s' BW out %llu, BW in %llu \n", + "Callback for %s peer `%s' plugin `%s' BW out %u, BW in %u \n", (active == GNUNET_YES) ? "ACTIVE" : "INACTIVE", GNUNET_i2s (id), plugin_name, - ntohl (bandwidth_out.value__), - ntohl (bandwidth_in.value__)); + (unsigned int) ntohl (bandwidth_out.value__), + (unsigned int) ntohl (bandwidth_in.value__)); /* Transmit result */ if ((GNUNET_YES == ai->all) || (GNUNET_YES == active)) { GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, - "Sending result for %s peer `%s' plugin `%s' BW out %llu, BW in %llu \n", + "Sending result for %s peer `%s' plugin `%s' BW out %u, BW in %u \n", (active == GNUNET_YES) ? "ACTIVE" : "INACTIVE", GNUNET_i2s (id), plugin_name, - ntohl (bandwidth_out.value__), - ntohl (bandwidth_in.value__)); + (unsigned int) ntohl (bandwidth_out.value__), + (unsigned int) ntohl (bandwidth_in.value__)); transmit_req_addr (cls, id, plugin_name, diff --git a/src/ats/test_ats_api.conf b/src/ats/test_ats_api.conf index d55d9911c..4dc688473 100644 --- a/src/ats/test_ats_api.conf +++ b/src/ats/test_ats_api.conf @@ -7,7 +7,7 @@ DEFAULTSERVICES = ats UNIXPATH = /tmp/test-ats-scheduling-arm.sock [ats] -#PREFIX = valgrind --leak-check=full +PREFIX = valgrind --leak-check=full --track-origins=yes --num-callers=25 AUTOSTART = YES PORT = 12002 HOSTNAME = localhost -- 2.25.1