summaryrefslogtreecommitdiff
path: root/src/skadns/skadns_send.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2014-12-10 09:20:01 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2014-12-10 09:20:01 +0000
commit7a0f84ec90d6a7167e0be9de80b891596fa0c262 (patch)
treec0cb23b0a50fa2734286c936fbbb0dae24c2ec1f /src/skadns/skadns_send.c
parent416ef5e2bf59bb2e45066a1d5d91ac677c0f48e5 (diff)
downloads6-dns-7a0f84ec90d6a7167e0be9de80b891596fa0c262.tar.xz
Compiling bugfixes, small doc update
Diffstat (limited to 'src/skadns/skadns_send.c')
-rw-r--r--src/skadns/skadns_send.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/skadns/skadns_send.c b/src/skadns/skadns_send.c
index 7ee04c7..f8152b7 100644
--- a/src/skadns/skadns_send.c
+++ b/src/skadns/skadns_send.c
@@ -18,7 +18,7 @@ int skadns_send (skadns_t *a, uint16 *u, s6dns_domain_t const *d, uint16 qtype,
unsigned int i ;
char tmp[17] = "--Q" ;
char err ;
- siovec_t v[2] = { { .s = tmp, .len = 17 }, { .s = d->s, .len = d->len } } ;
+ siovec_t v[2] = { { .s = tmp, .len = 17 }, { .s = (char *)d->s, .len = d->len } } ;
if (!gensetdyn_new(&a->q, &i)) return 0 ;
uint16_pack_big(tmp, (uint16)i) ;
uint16_pack_big(tmp + 3, qtype) ;