From 502a54282066be48d4a7479322ab5ed44c957249 Mon Sep 17 00:00:00 2001 From: Wouter Wijngaards Date: Fri, 13 Nov 2009 15:03:01 +0000 Subject: [PATCH] please lint git-svn-id: file:///svn/unbound/trunk@1904 be551aaa-1e26-0410-a405-d3ace91eadb9 --- smallapp/unbound-host.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); -- 2.47.2