From: Wouter Wijngaards Date: Thu, 28 Feb 2008 12:36:50 +0000 (+0000) Subject: lint for libunbound. X-Git-Tag: release-0.10~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bc6617cf11f72ac7a491efb524cf7cc174fe0794;p=thirdparty%2Funbound.git lint for libunbound. git-svn-id: file:///svn/unbound/trunk@999 be551aaa-1e26-0410-a405-d3ace91eadb9 --- diff --git a/libunbound/libunbound.c b/libunbound/libunbound.c index 2280e4f7d..3c5134c7f 100644 --- a/libunbound/libunbound.c +++ b/libunbound/libunbound.c @@ -438,7 +438,7 @@ process_answer_detail(struct ub_ctx* ctx, uint8_t* msg, uint32_t len, q->msg_security); } (*res)->answer_packet = q->msg; - (*res)->answer_len = q->msg_len; + (*res)->answer_len = (int)q->msg_len; q->msg = NULL; ldns_buffer_free(buf); regional_destroy(region); @@ -585,7 +585,7 @@ ub_resolve(struct ub_ctx* ctx, char* name, int rrtype, return r; } q->res->answer_packet = q->msg; - q->res->answer_len = q->msg_len; + q->res->answer_len = (int)q->msg_len; q->msg = NULL; *result = q->res; q->res = NULL;