mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-02-03 12:19:27 -05:00
fix lint.
git-svn-id: file:///svn/unbound/trunk@2545 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
a1c76554a2
commit
1befacc444
2 changed files with 5 additions and 1 deletions
|
|
@ -405,6 +405,10 @@ util/configparser.lint util/configlexer.lint pythonmod/pythonmod.lint libunbound
|
|||
# skip lint for generated code
|
||||
touch $@
|
||||
|
||||
winrc/win_svc.lint winrc/w_inst.lint winrc/unbound-service-install.lint winrc/unbound-service-remove.lint:
|
||||
# skip lint for windows types
|
||||
touch $@
|
||||
|
||||
lint: $(ALL_SRC:.c=.lint)
|
||||
|
||||
tags: $(srcdir)/*.[ch] $(srcdir)/*/*.[ch]
|
||||
|
|
|
|||
|
|
@ -85,7 +85,7 @@ result2answer(struct ub_result* result)
|
|||
{
|
||||
ldns_pkt* p = NULL;
|
||||
ldns_rr_list* a;
|
||||
if(ldns_wire2pkt(&p, result->answer_packet, result->answer_len)
|
||||
if(ldns_wire2pkt(&p, result->answer_packet, (size_t)result->answer_len)
|
||||
!= LDNS_STATUS_OK)
|
||||
return NULL;
|
||||
a = ldns_pkt_answer(p);
|
||||
|
|
|
|||
Loading…
Reference in a new issue