From 0aed1e6e6bd9ccfb7f75521e0ab805db5b2d07f3 Mon Sep 17 00:00:00 2001 From: Brian Wellington Date: Wed, 17 Jan 2001 03:02:01 +0000 Subject: [PATCH] add a cast to silence the annoying MS compiler. [RT #662] --- lib/dns/xfrin.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/dns/xfrin.c b/lib/dns/xfrin.c index 6166d01606..b6a2ad6903 100644 --- a/lib/dns/xfrin.c +++ b/lib/dns/xfrin.c @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: xfrin.c,v 1.112 2001/01/09 21:51:46 bwelling Exp $ */ +/* $Id: xfrin.c,v 1.113 2001/01/17 03:02:01 bwelling Exp $ */ #include @@ -696,7 +696,7 @@ xfrin_create(isc_mem_t *mctx, xfr->rdclass = rdclass; isc_random_get(&tmp); xfr->checkid = ISC_TRUE; - xfr->id = tmp &0xffff; + xfr->id = (isc_uint16_t)(tmp & 0xffff); xfr->reqtype = reqtype; /* sockaddr */