diff --git a/iterator/iter_utils.c b/iterator/iter_utils.c index ed51d0660..38cc92b96 100644 --- a/iterator/iter_utils.c +++ b/iterator/iter_utils.c @@ -365,8 +365,8 @@ causes_cycle(struct module_qstate* qstate, uint8_t* name, size_t namelen, qinf.qname_len = namelen; qinf.qtype = t; qinf.qclass = c; - return (*qstate->env->detect_cycle)(qstate, &qinf, BIT_RD|BIT_CD, - qstate->is_priming); + return (*qstate->env->detect_cycle)(qstate, &qinf, + (uint16_t)(BIT_RD|BIT_CD), qstate->is_priming); } void