]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
And cast here.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Thu, 3 May 2018 14:17:56 +0000 (14:17 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Thu, 3 May 2018 14:17:56 +0000 (14:17 +0000)
git-svn-id: file:///svn/unbound/trunk@4677 be551aaa-1e26-0410-a405-d3ace91eadb9

libunbound/libunbound.c

index 30f63431ad66ab323c93bed29692118daa32259b..729b32e33cad8068362ecf8e69e2743c90782c8e 100644 (file)
@@ -537,7 +537,7 @@ process_answer_detail(struct ub_ctx* ctx, uint8_t* msg, uint32_t len,
                *cb = NULL;
                *cbarg = NULL;
        } else {
-               *cb = q->cb;
+               *cb = (ub_callback_type)q->cb;
                *cbarg = q->cb_arg;
        }
        if(*err) {