From 067932c2c5d16cec0571ea6c2face0bf961feb4f Mon Sep 17 00:00:00 2001 From: Wouter Wijngaards Date: Mon, 7 May 2007 14:07:34 +0000 Subject: [PATCH] lint fixup. git-svn-id: file:///svn/unbound/trunk@291 be551aaa-1e26-0410-a405-d3ace91eadb9 --- daemon/worker.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.47.2