summaryrefslogtreecommitdiff
path: root/src/transport/test_plugin_transport.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-05-06 15:01:44 +0000
committerChristian Grothoff <christian@grothoff.org>2016-05-06 15:01:44 +0000
commit221996eb735384bb5478819e4358d2c648a16d7b (patch)
treefa8049781525b35c0689ddaf89792e60416bcff7 /src/transport/test_plugin_transport.c
parent34aad61f423d2f6078ecfe51cb7a650fe528ab96 (diff)
fix compiler warnings
Diffstat (limited to 'src/transport/test_plugin_transport.c')
-rw-r--r--src/transport/test_plugin_transport.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/transport/test_plugin_transport.c b/src/transport/test_plugin_transport.c
index e75cb7c7f..61ea2035f 100644
--- a/src/transport/test_plugin_transport.c
+++ b/src/transport/test_plugin_transport.c
@@ -380,7 +380,8 @@ test_addr_string (void *cls)
{
GNUNET_log(GNUNET_ERROR_TYPE_ERROR,
"Plugin creates different address length when converting address->string->address: %u != %u\n",
- w->address->address_length, s2a_len);
+ (unsigned int) w->address->address_length,
+ s2a_len);
}
else if (0 != memcmp (s2a, w->address->address, s2a_len))
{
@@ -439,7 +440,7 @@ env_notify_address (void *cls,
addresses_reported++;
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
"Adding address of length %u\n",
- address->address_length);
+ (unsigned int) address->address_length);
for (wtmp = head; NULL != wtmp; wtmp = wtmp->next)
{
@@ -465,7 +466,7 @@ env_notify_address (void *cls,
{
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
"Removing address of length %u\n",
- address->address_length);
+ (unsigned int) address->address_length);
w = head;
while (NULL != w)
{