diff options
author | LRN <lrn1986@gmail.com> | 2013-12-24 13:26:21 +0000 |
---|---|---|
committer | LRN <lrn1986@gmail.com> | 2013-12-24 13:26:21 +0000 |
commit | 41a801e9f6ddbcf4a8ff5d178482fcd025d5ab05 (patch) | |
tree | 6ac0bbc2b94c04c2b4efafe4d8cf92d2371720d2 /src/ats/gnunet-service-ats_addresses.c | |
parent | 4364b5c5ca47451110760faf1e0bf3d07fd26130 (diff) | |
download | gnunet-41a801e9f6ddbcf4a8ff5d178482fcd025d5ab05.tar.gz gnunet-41a801e9f6ddbcf4a8ff5d178482fcd025d5ab05.zip |
value__ is uint32_t, use %lu to print
Diffstat (limited to 'src/ats/gnunet-service-ats_addresses.c')
-rw-r--r-- | src/ats/gnunet-service-ats_addresses.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/ats/gnunet-service-ats_addresses.c b/src/ats/gnunet-service-ats_addresses.c index f52d1d7fd..8e47ae74c 100644 --- a/src/ats/gnunet-service-ats_addresses.c +++ b/src/ats/gnunet-service-ats_addresses.c | |||
@@ -1384,10 +1384,10 @@ eval_sum_bw_used (void *cls, const struct GNUNET_PeerIdentity *id, void *obj) | |||
1384 | } | 1384 | } |
1385 | } | 1385 | } |
1386 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, | 1386 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, |
1387 | "Active address in %s with (in/out) %u/%u Bps\n", | 1387 | "Active address in %s with (in/out) %lu/%lu Bps\n", |
1388 | GNUNET_ATS_print_network_type (net), | 1388 | GNUNET_ATS_print_network_type (net), |
1389 | (unsigned int) ntohl (addr->assigned_bw_in.value__), | 1389 | ntohl (addr->assigned_bw_in.value__), |
1390 | (unsigned int) ntohl (addr->assigned_bw_out.value__)); | 1390 | ntohl (addr->assigned_bw_out.value__)); |
1391 | } | 1391 | } |
1392 | return GNUNET_OK; | 1392 | return GNUNET_OK; |
1393 | } | 1393 | } |
@@ -2060,9 +2060,9 @@ bandwidth_changed_cb (void *cls, struct ATS_Address *address) | |||
2060 | else | 2060 | else |
2061 | { | 2061 | { |
2062 | GNUNET_log(GNUNET_ERROR_TYPE_INFO, | 2062 | GNUNET_log(GNUNET_ERROR_TYPE_INFO, |
2063 | "Sending bandwidth update for peer `%s': %llu %llu\n", | 2063 | "Sending bandwidth update for peer `%s': %lu %lu\n", |
2064 | GNUNET_i2s (&address->peer), address->assigned_bw_out, | 2064 | GNUNET_i2s (&address->peer), address->assigned_bw_out.value__, |
2065 | address->assigned_bw_out); | 2065 | address->assigned_bw_out.value__); |
2066 | } | 2066 | } |
2067 | 2067 | ||
2068 | /* *Notify scheduling clients about suggestion */ | 2068 | /* *Notify scheduling clients about suggestion */ |