From: Wouter Wijngaards Date: Fri, 13 Nov 2009 15:03:01 +0000 (+0000) Subject: please lint X-Git-Tag: release-1.4.0rc1^0 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=502a54282066be48d4a7479322ab5ed44c957249;p=thirdparty%2Funbound.git please lint git-svn-id: file:///svn/unbound/trunk@1904 be551aaa-1e26-0410-a405-d3ace91eadb9 --- diff --git a/smallapp/unbound-host.c b/smallapp/unbound-host.c index 24879b2a2..5f32b7b71 100644 --- a/smallapp/unbound-host.c +++ b/smallapp/unbound-host.c @@ -330,7 +330,7 @@ pretty_output(char* q, int t, int c, struct ub_result* result, int docname) else if(t == LDNS_RR_TYPE_ANY) { ldns_pkt* p = NULL; if(ldns_wire2pkt(&p, result->answer_packet, - result->answer_len) == LDNS_STATUS_OK){ + (size_t)result->answer_len)==LDNS_STATUS_OK){ if(ldns_rr_list_rr_count( ldns_pkt_answer(p)) == 0) printf(" has no records\n");