aboutsummaryrefslogtreecommitdiff
path: root/src/peerinfo-tool
diff options
context:
space:
mode:
authorMartin Schanzenbach <mschanzenbach@posteo.de>2020-10-16 10:54:49 +0200
committerMartin Schanzenbach <mschanzenbach@posteo.de>2020-10-16 10:54:49 +0200
commit30e8dd5bbe3ee00942e5f9aa303429249c8e9b3d (patch)
tree1cb2bc6072e623f33a103752527e8e000ae776b4 /src/peerinfo-tool
parent09c3455b2c3dd01e52ac2dd9c62c41b3ebcf8028 (diff)
downloadgnunet-30e8dd5bbe3ee00942e5f9aa303429249c8e9b3d.tar.gz
gnunet-30e8dd5bbe3ee00942e5f9aa303429249c8e9b3d.zip
-fix warnings except rps mess
Diffstat (limited to 'src/peerinfo-tool')
-rw-r--r--src/peerinfo-tool/gnunet-peerinfo.c4
-rw-r--r--src/peerinfo-tool/plugin_rest_peerinfo.c4
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,