summaryrefslogtreecommitdiff
path: root/src/skadns
diff options
context:
space:
mode:
Diffstat (limited to 'src/skadns')
-rw-r--r--src/skadns/skadns_end.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/skadns/skadns_end.c b/src/skadns/skadns_end.c
index afcab58..c6298fa 100644
--- a/src/skadns/skadns_end.c
+++ b/src/skadns/skadns_end.c
@@ -7,9 +7,9 @@
#include <skalibs/textclient.h>
#include <s6-dns/skadns.h>
-static int skadnsanswer_free (char *p, void *stuff)
+static int skadnsanswer_free (void *p, void *stuff)
{
- skadnsanswer_t *q = (skadnsanswer_t_ref)p ;
+ skadnsanswer_t *q = p ;
alloc_free(q->data) ;
(void)stuff ;
return 1 ;