From: Wouter Wijngaards Date: Mon, 7 May 2007 14:07:34 +0000 (+0000) Subject: lint fixup. X-Git-Tag: release-0.3~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=067932c2c5d16cec0571ea6c2face0bf961feb4f;p=thirdparty%2Funbound.git lint fixup. git-svn-id: file:///svn/unbound/trunk@291 be551aaa-1e26-0410-a405-d3ace91eadb9 --- diff --git a/daemon/worker.c b/daemon/worker.c index 344f8726b..22638002c 100644 --- a/daemon/worker.c +++ b/daemon/worker.c @@ -459,7 +459,7 @@ worker_handle_request(struct comm_point* c, void* arg, int error, return 1; } if(edns.edns_present && edns.edns_version != 0) { - edns.ext_rcode = EDNS_RCODE_BADVERS>>4; + edns.ext_rcode = (uint8_t)(EDNS_RCODE_BADVERS>>4); edns.edns_version = EDNS_ADVERTISED_VERSION; edns.udp_size = EDNS_ADVERTISED_SIZE; edns.bits &= EDNS_DO;