summaryrefslogtreecommitdiff
path: root/src/dns
diff options
context:
space:
mode:
Diffstat (limited to 'src/dns')
-rw-r--r--src/dns/gnunet-dns-monitor.c2
-rw-r--r--src/dns/gnunet-service-dns.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/dns/gnunet-dns-monitor.c b/src/dns/gnunet-dns-monitor.c
index 836d65c79..48923b613 100644
--- a/src/dns/gnunet-dns-monitor.c
+++ b/src/dns/gnunet-dns-monitor.c
@@ -216,7 +216,7 @@ display_record (const struct GNUNET_DNSPARSER_Record *record)
GNUNET_asprintf (&tmp,
"%.*s",
(unsigned int) record->data.raw.data_len,
- record->data.raw.data);
+ (char*) record->data.raw.data);
format = tmp;
break;
diff --git a/src/dns/gnunet-service-dns.c b/src/dns/gnunet-service-dns.c
index 1cb238add..4840c0c95 100644
--- a/src/dns/gnunet-service-dns.c
+++ b/src/dns/gnunet-service-dns.c
@@ -557,7 +557,7 @@ next_phase (struct RequestRecord *rr)
/* done with current phase, advance! */
LOG (GNUNET_ERROR_TYPE_DEBUG,
"Request %llu now in phase %d\n",
- rr->request_id,
+ (unsigned long long) rr->request_id,
rr->phase);
switch (rr->phase)
{