aboutsummaryrefslogtreecommitdiff
path: root/src/core/test_core_quota_compliance.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-05-06 15:20:10 +0000
committerChristian Grothoff <christian@grothoff.org>2016-05-06 15:20:10 +0000
commit8e325aefdaab6aae4567762bd639dfa1db3c4f15 (patch)
treee18e0515ffab51e8871dbf371750b21382691bdc /src/core/test_core_quota_compliance.c
parent221996eb735384bb5478819e4358d2c648a16d7b (diff)
downloadgnunet-8e325aefdaab6aae4567762bd639dfa1db3c4f15.tar.gz
gnunet-8e325aefdaab6aae4567762bd639dfa1db3c4f15.zip
fix compiler warnings
Diffstat (limited to 'src/core/test_core_quota_compliance.c')
-rw-r--r--src/core/test_core_quota_compliance.c11
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
417static int 417static int
418inbound_notify (void *cls, const struct GNUNET_PeerIdentity *other, 418inbound_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
429static int 431static int
430outbound_notify (void *cls, const struct GNUNET_PeerIdentity *other, 432outbound_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,