fix for lint

git-svn-id: file:///svn/unbound/trunk@4197 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards 2017-05-29 14:34:28 +00:00
parent 75395a12e5
commit dd0da65da9

View file

@ -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;
}