From affa3155be811559c5c59c19cd8f16c91bc0a55f Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Sun, 14 May 2000 02:29:23 +0000 Subject: [PATCH] Fixed this warning: "ssu.c", line 240: warning(1185): enumerated type mixed with another type by adding an ISC_TF() to the return statement of an isc_boolean_t function. --- lib/dns/ssu.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/dns/ssu.c b/lib/dns/ssu.c index aad5151587..9f5bf3c95e 100644 --- a/lib/dns/ssu.c +++ b/lib/dns/ssu.c @@ -16,7 +16,7 @@ */ /* - * $Id: ssu.c,v 1.10 2000/05/08 19:23:16 tale Exp $ + * $Id: ssu.c,v 1.11 2000/05/14 02:29:23 tale Exp $ * Principal Author: Brian Wellington */ @@ -237,9 +237,9 @@ dns_ssutable_addrule(dns_ssutable_t *table, isc_boolean_t grant, static inline isc_boolean_t isusertype(dns_rdatatype_t type) { - return (type != dns_rdatatype_ns && - type != dns_rdatatype_soa && - type != dns_rdatatype_sig); + return (ISC_TF(type != dns_rdatatype_ns && + type != dns_rdatatype_soa && + type != dns_rdatatype_sig)); } isc_boolean_t