diff --git a/src/app/util/mock/MockNodeConfig.h b/src/app/util/mock/MockNodeConfig.h index d6f07edcd9ae67..6156b51cbe406f 100644 --- a/src/app/util/mock/MockNodeConfig.h +++ b/src/app/util/mock/MockNodeConfig.h @@ -34,7 +34,7 @@ namespace internal { constexpr EmberAfAttributeMetadata DefaultAttributeMetadata(chip::AttributeId id) { return EmberAfAttributeMetadata{ - .defaultValue = EmberAfDefaultOrMinMaxAttributeValue(0u), + .defaultValue = EmberAfDefaultOrMinMaxAttributeValue(static_cast(0)), .attributeId = id, .size = 4, .attributeType = ZCL_INT32U_ATTRIBUTE_TYPE,