From: Wouter Wijngaards Date: Thu, 3 May 2018 14:17:56 +0000 (+0000) Subject: And cast here. X-Git-Tag: release-1.7.2rc1~28 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1d5d95c8cbc308e3493c53b0833f452aed51ae07;p=thirdparty%2Funbound.git And cast here. git-svn-id: file:///svn/unbound/trunk@4677 be551aaa-1e26-0410-a405-d3ace91eadb9 --- diff --git a/libunbound/libunbound.c b/libunbound/libunbound.c index 30f63431a..729b32e33 100644 --- a/libunbound/libunbound.c +++ b/libunbound/libunbound.c @@ -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) {