diff --git a/src/components/base/ucc_base_iface.h b/src/components/base/ucc_base_iface.h index 554357f64e..97213793f0 100644 --- a/src/components/base/ucc_base_iface.h +++ b/src/components/base/ucc_base_iface.h @@ -110,7 +110,7 @@ typedef struct ucc_base_ctx_attr_t { static inline void ucc_base_ctx_attr_clear(ucc_base_ctx_attr_t *attr) { - uint32_t mask = attr->attr.mask; + uint64_t mask = attr->attr.mask; memset(attr, 0, sizeof(ucc_base_ctx_attr_t)); attr->attr.mask = mask; }