From fd71f5a87fbef60a9c8823495765723a40bed641 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 9dde4b7cae..08d2ffdc34 100644 --- a/lib/dns/message.c +++ b/lib/dns/message.c @@ -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); \