summaryrefslogtreecommitdiffstats
path: root/contrib/bind/bin/nslookup/list.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/bind/bin/nslookup/list.c')
-rw-r--r--contrib/bind/bin/nslookup/list.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/bind/bin/nslookup/list.c b/contrib/bind/bin/nslookup/list.c
index 863d433..c910230 100644
--- a/contrib/bind/bin/nslookup/list.c
+++ b/contrib/bind/bin/nslookup/list.c
@@ -53,7 +53,7 @@
#ifndef lint
static const char sccsid[] = "@(#)list.c 5.23 (Berkeley) 3/21/91";
-static const char rcsid[] = "$Id: list.c,v 8.25 2000/12/23 08:14:46 vixie Exp $";
+static const char rcsid[] = "$Id: list.c,v 8.26 2001/06/18 14:43:38 marka Exp $";
#endif /* not lint */
/*
@@ -434,7 +434,7 @@ ListSubr(int qtype, char *domain, char *cmd) {
strcpy(origin, name);
strcpy(name_ctx, "@");
}
- if (qtype == T_ANY || ns_rr_type(rr) == qtype) {
+ if (qtype == T_ANY || (int)ns_rr_type(rr) == qtype) {
if (ns_sprintrr(&handle, &rr, name_ctx, origin,
buf, sizeof buf) < 0) {
perror("ns_sprintrr");
OpenPOWER on IntegriCloud