]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
dns_master_styleflags returns dns_masterstyle_flags_t
authorMark Andrews <marka@isc.org>
Mon, 20 Feb 2017 06:38:56 +0000 (17:38 +1100)
committerMark Andrews <marka@isc.org>
Mon, 20 Feb 2017 06:39:20 +0000 (17:39 +1100)
lib/dns/message.c

index ba805f5660f0b2410524095cde7968e5bb6207d4..f34b994b62e93f640bef644fbd76e2479f458ebf 100644 (file)
@@ -3285,9 +3285,10 @@ dns_message_checksig(dns_message_t *msg, dns_view_t *view) {
 
 #define INDENT(sp) \
        do { \
-               unsigned int __i, __flags = dns_master_styleflags(sp); \
-               if ((__flags & DNS_STYLEFLAG_INDENT) == 0 && \
-                   (__flags & DNS_STYLEFLAG_YAML) == 0) \
+               unsigned int __i; \
+               dns_masterstyle_flags_t  __flags = dns_master_styleflags(sp); \
+               if ((__flags & DNS_STYLEFLAG_INDENT) == 0ULL && \
+                   (__flags & DNS_STYLEFLAG_YAML) == 0ULL) \
                        break; \
                for (__i = 0; __i < dns_master_indent; __i++) { \
                        ADD_STRING(target, dns_master_indentstr); \