Commit affa3155 authored by David Lawrence's avatar David Lawrence
Browse files

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.
parent 971f454b
......@@ -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
......
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