From 1d9b058a6429776ea2c24e80c021de40b4b2ac01 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Fri, 14 Oct 2005 05:44:26 +0000 Subject: [PATCH] silence compiler --- lib/bind/resolv/res_mkupdate.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/bind/resolv/res_mkupdate.c b/lib/bind/resolv/res_mkupdate.c index f9fd3ea54f..d04a4b1b04 100644 --- a/lib/bind/resolv/res_mkupdate.c +++ b/lib/bind/resolv/res_mkupdate.c @@ -22,7 +22,7 @@ */ #if !defined(lint) && !defined(SABER) -static const char rcsid[] = "$Id: res_mkupdate.c,v 1.7 2005/10/11 00:10:16 marka Exp $"; +static const char rcsid[] = "$Id: res_mkupdate.c,v 1.8 2005/10/14 05:44:26 marka Exp $"; #endif /* not lint */ #include "port_before.h" @@ -925,10 +925,10 @@ res_mkupdrec(int section, const char *dname, } INIT_LINK(rrecp, r_link); INIT_LINK(rrecp, r_glink); - rrecp->r_class = class; - rrecp->r_type = type; + rrecp->r_class = (ns_class)class; + rrecp->r_type = (ns_type)type; rrecp->r_ttl = ttl; - rrecp->r_section = section; + rrecp->r_section = (ns_sect)section; return (rrecp); }