summaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
Diffstat (limited to 'src/util')
-rw-r--r--src/util/client.c2
-rw-r--r--src/util/service.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/src/util/client.c b/src/util/client.c
index 86dabe664..2df439175 100644
--- a/src/util/client.c
+++ b/src/util/client.c
@@ -654,7 +654,7 @@ try_connect_using_address (void *cls,
"Trying to connect using address `%s:%u'\n",
GNUNET_a2s (addr,
addrlen),
- cstate->port);
+ (unsigned int) cstate->port);
ap = GNUNET_malloc (sizeof(struct AddressProbe) + addrlen);
ap->addr = (const struct sockaddr *) &ap[1];
GNUNET_memcpy (&ap[1],
diff --git a/src/util/service.c b/src/util/service.c
index ddd31181d..4c647430d 100644
--- a/src/util/service.c
+++ b/src/util/service.c
@@ -2120,7 +2120,9 @@ GNUNET_SERVICE_run_ (int argc,
{
clock_offset = skew_offset - skew_variance;
GNUNET_TIME_set_offset (clock_offset);
- LOG (GNUNET_ERROR_TYPE_DEBUG, "Skewing clock by %dll ms\n", clock_offset);
+ LOG (GNUNET_ERROR_TYPE_DEBUG,
+ "Skewing clock by %lld ms\n",
+ (long long) clock_offset);
}
GNUNET_RESOLVER_connect (sh.cfg);