]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
silence signed/unsigned warning
authorMark Andrews <marka@isc.org>
Thu, 3 Apr 2008 10:39:13 +0000 (10:39 +0000)
committerMark Andrews <marka@isc.org>
Thu, 3 Apr 2008 10:39:13 +0000 (10:39 +0000)
lib/bind/resolv/res_query.c

index 50ba1e76190fc25c016a1e29c031b5e08e11bb13..b14f19644a66e62899ef88314d368e43f404ec7a 100644 (file)
@@ -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);
                }