From: Mark Andrews Date: Fri, 14 Oct 2005 05:44:26 +0000 (+0000) Subject: silence compiler X-Git-Tag: v9.2.7b1~91^2~135 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=1d9b058a6429776ea2c24e80c021de40b4b2ac01;p=thirdparty%2Fbind9.git silence compiler --- diff --git a/lib/bind/resolv/res_mkupdate.c b/lib/bind/resolv/res_mkupdate.c index f9fd3ea54fb..d04a4b1b042 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); }