summaryrefslogtreecommitdiff
path: root/src/transport/gnunet-transport.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2014-12-03 14:50:47 +0000
committerChristian Grothoff <christian@grothoff.org>2014-12-03 14:50:47 +0000
commit94a28fbbb8dc035613f34b5703499a8b36229250 (patch)
treeab8d20718219acfc6d48cac64168f337c323512c /src/transport/gnunet-transport.c
parent8031f0e2bb9ffb4d9f46d29804514188de1c4027 (diff)
-fix misc compiler warnings
Diffstat (limited to 'src/transport/gnunet-transport.c')
-rw-r--r--src/transport/gnunet-transport.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/transport/gnunet-transport.c b/src/transport/gnunet-transport.c
index 646b8087b..7adbf4c32 100644
--- a/src/transport/gnunet-transport.c
+++ b/src/transport/gnunet-transport.c
@@ -799,10 +799,10 @@ process_validation_string (void *cls,
if (GNUNET_SYSERR == res)
{
FPRINTF (stderr,
- "Failed to convert address for peer `%s' plugin `%s' length %lu to string \n",
+ "Failed to convert address for peer `%s' plugin `%s' length %u to string \n",
GNUNET_i2s (&vc->id),
vc->addrcp->transport_name,
- vc->addrcp->address_length);
+ (unsigned int) vc->addrcp->address_length);
}
if (GNUNET_TIME_UNIT_ZERO_ABS.abs_value_us == vc->valid_until.abs_value_us)
s_valid = GNUNET_strdup ("never");
@@ -1368,10 +1368,10 @@ process_peer_string (void *cls,
if (GNUNET_SYSERR == res)
{
FPRINTF (stderr,
- "Failed to convert address for peer `%s' plugin `%s' length %lu to string \n",
+ "Failed to convert address for peer `%s' plugin `%s' length %u to string \n",
GNUNET_i2s (&rc->id),
rc->addrcp->transport_name,
- rc->addrcp->address_length);
+ (unsigned int) rc->addrcp->address_length);
print_info (&rc->id,
rc->transport,
NULL,