aboutsummaryrefslogtreecommitdiff
path: root/contrib/unbound/sldns/str2wire.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/unbound/sldns/str2wire.c')
-rw-r--r--contrib/unbound/sldns/str2wire.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/unbound/sldns/str2wire.c b/contrib/unbound/sldns/str2wire.c
index becd6d3855c9..392fc8f1d32a 100644
--- a/contrib/unbound/sldns/str2wire.c
+++ b/contrib/unbound/sldns/str2wire.c
@@ -857,7 +857,7 @@ rrinternal_parse_rdata(sldns_buffer* strbuf, char* token, size_t token_len,
while (rdata_len && *rdata != 0) {
uint8_t label_len;
- if (*rdata & 0xC0)
+ if ((*rdata & 0xC0))
return LDNS_WIREPARSE_ERR_OK;
label_len = *rdata + 1;