diff options
Diffstat (limited to 'src/peerinfo-tool')
-rw-r--r-- | src/peerinfo-tool/gnunet-peerinfo.c | 4 | ||||
-rw-r--r-- | src/peerinfo-tool/plugin_rest_peerinfo.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/peerinfo-tool/gnunet-peerinfo.c b/src/peerinfo-tool/gnunet-peerinfo.c index 739249a93..987c7c3a0 100644 --- a/src/peerinfo-tool/gnunet-peerinfo.c +++ b/src/peerinfo-tool/gnunet-peerinfo.c | |||
@@ -338,9 +338,9 @@ print_address (void *cls, | |||
338 | ar->pc = pc; | 338 | ar->pc = pc; |
339 | ar->expiration = expiration; | 339 | ar->expiration = expiration; |
340 | GNUNET_asprintf (&ar->result, | 340 | GNUNET_asprintf (&ar->result, |
341 | "%s:%u:%u", | 341 | "%s:%lu:%u", |
342 | address->transport_name, | 342 | address->transport_name, |
343 | address->address_length, | 343 | (unsigned long) address->address_length, |
344 | address->local_info); | 344 | address->local_info); |
345 | ar->atsc = GNUNET_TRANSPORT_address_to_string (cfg, | 345 | ar->atsc = GNUNET_TRANSPORT_address_to_string (cfg, |
346 | address, | 346 | address, |
diff --git a/src/peerinfo-tool/plugin_rest_peerinfo.c b/src/peerinfo-tool/plugin_rest_peerinfo.c index 99cec7e58..4bbc7442e 100644 --- a/src/peerinfo-tool/plugin_rest_peerinfo.c +++ b/src/peerinfo-tool/plugin_rest_peerinfo.c | |||
@@ -554,9 +554,9 @@ print_address (void *cls, | |||
554 | ar->pc = pc; | 554 | ar->pc = pc; |
555 | ar->expiration = expiration; | 555 | ar->expiration = expiration; |
556 | GNUNET_asprintf (&ar->result, | 556 | GNUNET_asprintf (&ar->result, |
557 | "%s:%u:%u", | 557 | "%s:%lu:%u", |
558 | address->transport_name, | 558 | address->transport_name, |
559 | address->address_length, | 559 | (unsigned long) address->address_length, |
560 | address->local_info); | 560 | address->local_info); |
561 | ar->atsc = GNUNET_TRANSPORT_address_to_string (cfg, | 561 | ar->atsc = GNUNET_TRANSPORT_address_to_string (cfg, |
562 | address, | 562 | address, |