From: Wouter Wijngaards Date: Mon, 29 May 2017 14:34:28 +0000 (+0000) Subject: fix for lint X-Git-Tag: release-1.6.4rc1~37 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dd0da65da90bafaf7af7ffdc2fd76087ed2a5529;p=thirdparty%2Funbound.git fix for lint git-svn-id: file:///svn/unbound/trunk@4197 be551aaa-1e26-0410-a405-d3ace91eadb9 --- diff --git a/util/data/msgencode.c b/util/data/msgencode.c index 259df3693..aab7f5dfe 100644 --- a/util/data/msgencode.c +++ b/util/data/msgencode.c @@ -842,7 +842,7 @@ reply_info_answer_encode(struct query_info* qinf, struct reply_info* rep, attach_edns = 0; } else { /* reserve space for edns record */ - attach_edns = (int)calc_edns_field_size(edns); + attach_edns = (unsigned int)calc_edns_field_size(edns); udpsize -= attach_edns; }