From b55d7ff1aa8dbe5e97da37473c8204ad9d5ab1b4 Mon Sep 17 00:00:00 2001 From: Andrei Litvin Date: Mon, 28 Oct 2024 10:44:43 -0400 Subject: [PATCH] Update src/app/codegen-data-model-provider/EmberAttributeDataBuffer.cpp Co-authored-by: Boris Zbarsky --- .../codegen-data-model-provider/EmberAttributeDataBuffer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/codegen-data-model-provider/EmberAttributeDataBuffer.cpp b/src/app/codegen-data-model-provider/EmberAttributeDataBuffer.cpp index 83dc11c46aa0d0..a9cf4d9b15c316 100644 --- a/src/app/codegen-data-model-provider/EmberAttributeDataBuffer.cpp +++ b/src/app/codegen-data-model-provider/EmberAttributeDataBuffer.cpp @@ -456,8 +456,8 @@ CHIP_ERROR EmberAttributeDataBuffer::EncodeInteger(chip::TLV::TLVWriter & writer case ZCL_INT32U_ATTRIBUTE_TYPE: // Unsigned 32-bit integer case ZCL_INT40U_ATTRIBUTE_TYPE: // Unsigned 40-bit integer case ZCL_INT48U_ATTRIBUTE_TYPE: // Unsigned 48-bit integer - case ZCL_INT56U_ATTRIBUTE_TYPE: // Signed 56-bit integer - case ZCL_INT64U_ATTRIBUTE_TYPE: // Signed 64-bit integer + case ZCL_INT56U_ATTRIBUTE_TYPE: // Unsigned 56-bit integer + case ZCL_INT64U_ATTRIBUTE_TYPE: // Unsigned 64-bit integer return writer.Put(tag, value.uint_value); case ZCL_INT8S_ATTRIBUTE_TYPE: // Signed 8-bit integer case ZCL_INT16S_ATTRIBUTE_TYPE: // Signed 16-bit integer