summaryrefslogtreecommitdiffstats
path: root/lib/dns/result.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/dns/result.c')
-rw-r--r--lib/dns/result.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/dns/result.c b/lib/dns/result.c
index 9921291..f07c2f1 100644
--- a/lib/dns/result.c
+++ b/lib/dns/result.c
@@ -405,7 +405,7 @@ dns_result_torcode(isc_result_t result) {
* Rcodes can't be bigger than 12 bits, which is why we
* AND with 0xFFF instead of 0xFFFF.
*/
- return ((dns_rcode_t)((result)&0xFFF));
+ return ((dns_rcode_t)((result) & 0xFFF));
}
/*