diff options
author | Christian Grothoff <christian@grothoff.org> | 2016-05-06 15:01:44 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2016-05-06 15:01:44 +0000 |
commit | 221996eb735384bb5478819e4358d2c648a16d7b (patch) | |
tree | fa8049781525b35c0689ddaf89792e60416bcff7 /src/transport/test_plugin_transport.c | |
parent | 34aad61f423d2f6078ecfe51cb7a650fe528ab96 (diff) | |
download | gnunet-221996eb735384bb5478819e4358d2c648a16d7b.tar.gz gnunet-221996eb735384bb5478819e4358d2c648a16d7b.zip |
fix compiler warnings
Diffstat (limited to 'src/transport/test_plugin_transport.c')
-rw-r--r-- | src/transport/test_plugin_transport.c | 7 |
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) | |||
380 | { | 380 | { |
381 | GNUNET_log(GNUNET_ERROR_TYPE_ERROR, | 381 | GNUNET_log(GNUNET_ERROR_TYPE_ERROR, |
382 | "Plugin creates different address length when converting address->string->address: %u != %u\n", | 382 | "Plugin creates different address length when converting address->string->address: %u != %u\n", |
383 | w->address->address_length, s2a_len); | 383 | (unsigned int) w->address->address_length, |
384 | s2a_len); | ||
384 | } | 385 | } |
385 | else if (0 != memcmp (s2a, w->address->address, s2a_len)) | 386 | else if (0 != memcmp (s2a, w->address->address, s2a_len)) |
386 | { | 387 | { |
@@ -439,7 +440,7 @@ env_notify_address (void *cls, | |||
439 | addresses_reported++; | 440 | addresses_reported++; |
440 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 441 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
441 | "Adding address of length %u\n", | 442 | "Adding address of length %u\n", |
442 | address->address_length); | 443 | (unsigned int) address->address_length); |
443 | 444 | ||
444 | for (wtmp = head; NULL != wtmp; wtmp = wtmp->next) | 445 | for (wtmp = head; NULL != wtmp; wtmp = wtmp->next) |
445 | { | 446 | { |
@@ -465,7 +466,7 @@ env_notify_address (void *cls, | |||
465 | { | 466 | { |
466 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 467 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
467 | "Removing address of length %u\n", | 468 | "Removing address of length %u\n", |
468 | address->address_length); | 469 | (unsigned int) address->address_length); |
469 | w = head; | 470 | w = head; |
470 | while (NULL != w) | 471 | while (NULL != w) |
471 | { | 472 | { |