diff options
author | Christian Grothoff <christian@grothoff.org> | 2016-05-06 15:20:10 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2016-05-06 15:20:10 +0000 |
commit | 8e325aefdaab6aae4567762bd639dfa1db3c4f15 (patch) | |
tree | e18e0515ffab51e8871dbf371750b21382691bdc /src/core | |
parent | 221996eb735384bb5478819e4358d2c648a16d7b (diff) | |
download | gnunet-8e325aefdaab6aae4567762bd639dfa1db3c4f15.tar.gz gnunet-8e325aefdaab6aae4567762bd639dfa1db3c4f15.zip |
fix compiler warnings
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/test_core_quota_compliance.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/core/test_core_quota_compliance.c b/src/core/test_core_quota_compliance.c index e28f57fa6..59a3e8a7f 100644 --- a/src/core/test_core_quota_compliance.c +++ b/src/core/test_core_quota_compliance.c | |||
@@ -415,19 +415,22 @@ disconnect_notify (void *cls, const struct GNUNET_PeerIdentity *peer) | |||
415 | 415 | ||
416 | 416 | ||
417 | static int | 417 | static int |
418 | inbound_notify (void *cls, const struct GNUNET_PeerIdentity *other, | 418 | inbound_notify (void *cls, |
419 | const struct GNUNET_PeerIdentity *other, | ||
419 | const struct GNUNET_MessageHeader *message) | 420 | const struct GNUNET_MessageHeader *message) |
420 | { | 421 | { |
421 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 422 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
422 | "Core provides inbound data from `%4s' %llu.\n", | 423 | "Core provides inbound data from `%4s' %u.\n", |
423 | GNUNET_i2s (other), ntohs (message->size)); | 424 | GNUNET_i2s (other), |
425 | (unsigned int) ntohs (message->size)); | ||
424 | total_bytes_recv += ntohs (message->size); | 426 | total_bytes_recv += ntohs (message->size); |
425 | return GNUNET_OK; | 427 | return GNUNET_OK; |
426 | } | 428 | } |
427 | 429 | ||
428 | 430 | ||
429 | static int | 431 | static int |
430 | outbound_notify (void *cls, const struct GNUNET_PeerIdentity *other, | 432 | outbound_notify (void *cls, |
433 | const struct GNUNET_PeerIdentity *other, | ||
431 | const struct GNUNET_MessageHeader *message) | 434 | const struct GNUNET_MessageHeader *message) |
432 | { | 435 | { |
433 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 436 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |