Commit 5eb0f236 authored by Mark Andrews's avatar Mark Andrews
Browse files

silence signed/unsigned warning

parent ddad3555
......@@ -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);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment