From 87ff6241e42383ff7e81c5001a71a2e63529d9fd Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Mon, 20 Feb 2017 17:38:56 +1100 Subject: [PATCH] dns_master_styleflags returns dns_masterstyle_flags_t --- lib/dns/message.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/dns/message.c b/lib/dns/message.c index ba805f5660..f34b994b62 100644 --- a/lib/dns/message.c +++ b/lib/dns/message.c @@ -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); \