]> 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:38:56 +0000 (17:38 +1100)
lib/dns/message.c

index 9dde4b7cae64795301a5c6d15cd15bdb7ee444a9..08d2ffdc34b9b2aba51389dc8e0249a01d40c920 100644 (file)
@@ -3234,9 +3234,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); \