From: Wouter Wijngaards Date: Wed, 18 Oct 2017 06:43:51 +0000 (+0000) Subject: - lint for recent authzone commit. X-Git-Tag: release-1.7.0rc1~181 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7bf7524d22e678cc5ff7ed7abfb13790693c8891;p=thirdparty%2Funbound.git - lint for recent authzone commit. git-svn-id: file:///svn/unbound/trunk@4377 be551aaa-1e26-0410-a405-d3ace91eadb9 --- diff --git a/doc/Changelog b/doc/Changelog index d7635b704..5f57f656e 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -1,3 +1,6 @@ +18 October 2017: Wouter + - lint for recent authzone commit. + 17 October 2017: Wouter - Fix #1749: With harden-referral-path: performance drops, due to circular dependency in NS and DS lookups. diff --git a/services/authzone.c b/services/authzone.c index 477056796..21a8ee704 100644 --- a/services/authzone.c +++ b/services/authzone.c @@ -2560,7 +2560,7 @@ auth_answer_encode(struct query_info* qinfo, struct module_env* env, edns->bits &= EDNS_DO; if(!inplace_cb_reply_local_call(env, qinfo, NULL, msg->rep, - FLAGS_GET_RCODE(msg->rep->flags), edns, temp) + (int)FLAGS_GET_RCODE(msg->rep->flags), edns, temp) || !reply_info_answer_encode(qinfo, msg->rep, *(uint16_t*)sldns_buffer_begin(buf), sldns_buffer_read_u16_at(buf, 2),