From: Mark Andrews Date: Thu, 3 Apr 2008 10:39:13 +0000 (+0000) Subject: silence signed/unsigned warning X-Git-Tag: v9.3.6b1~176^2~29 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=5eb0f23677e8f9770adfbb089d927eab6ddbc147;p=thirdparty%2Fbind9.git silence signed/unsigned warning --- diff --git a/lib/bind/resolv/res_query.c b/lib/bind/resolv/res_query.c index 50ba1e76190..b14f19644a6 100644 --- a/lib/bind/resolv/res_query.c +++ b/lib/bind/resolv/res_query.c @@ -70,7 +70,7 @@ #if defined(LIBC_SCCS) && !defined(lint) static const char sccsid[] = "@(#)res_query.c 8.1 (Berkeley) 6/4/93"; -static const char rcsid[] = "$Id: res_query.c,v 1.9 2008/04/03 02:01:08 marka Exp $"; +static const char rcsid[] = "$Id: res_query.c,v 1.10 2008/04/03 10:39:13 marka Exp $"; #endif /* LIBC_SCCS and not lint */ #include "port_before.h" @@ -136,7 +136,7 @@ again: (statp->options & (RES_USE_EDNS0|RES_USE_DNSSEC|RES_NSID))) { n = res_nopt(statp, n, buf, sizeof(buf), anslen); rdata = &buf[n]; - if (n > 0 && (statp->options & RES_NSID) != 0) { + if (n > 0 && (statp->options & RES_NSID) != 0U) { n = res_nopt_rdata(statp, n, buf, sizeof(buf), rdata, NS_OPT_NSID, 0, NULL); }