@@ -185,7 +185,7 @@ static size_t addEncodedStringToVector( uint8_t serializedLength[ CORE_MQTT_SERI
185185 const char * const string ,
186186 uint16_t length ,
187187 TransportOutVector_t * iterator ,
188- size_t * updatedLength );
188+ uint32_t * updatedLength );
189189
190190/**
191191 * @brief Send Subscribe without copying the users data into any buffer.
@@ -2600,7 +2600,7 @@ static size_t addEncodedStringToVector( uint8_t serializedLength[ CORE_MQTT_SERI
26002600 const char * const string ,
26012601 uint16_t length ,
26022602 TransportOutVector_t * iterator ,
2603- size_t * updatedLength )
2603+ uint32_t * updatedLength )
26042604{
26052605 size_t packetLength = 0U ;
26062606 TransportOutVector_t * pLocalIterator = iterator ;
@@ -2653,7 +2653,7 @@ static MQTTStatus_t sendSubscribeWithoutCopy( MQTTContext_t * pContext,
26532653 TransportOutVector_t * pIterator ;
26542654 uint8_t serializedTopicFieldLength [ MQTT_SUB_UNSUB_MAX_VECTORS ][ CORE_MQTT_SERIALIZED_LENGTH_FIELD_BYTES ];
26552655 uint8_t subscriptionOptionsArray [ MQTT_SUB_UNSUB_MAX_VECTORS / CORE_MQTT_SUBSCRIBE_PER_TOPIC_VECTOR_LENGTH ];
2656- size_t totalPacketLength = 0U ;
2656+ uint32_t totalPacketLength = 0U ;
26572657 size_t ioVectorLength = 0U ;
26582658 size_t subscriptionsSent = 0U ;
26592659 size_t vectorsAdded = 0U ;
@@ -2794,7 +2794,7 @@ static MQTTStatus_t sendUnsubscribeWithoutCopy( MQTTContext_t * pContext,
27942794 TransportOutVector_t pIoVector [ MQTT_SUB_UNSUB_MAX_VECTORS ];
27952795 TransportOutVector_t * pIterator ;
27962796 uint8_t serializedTopicFieldLength [ MQTT_SUB_UNSUB_MAX_VECTORS ][ CORE_MQTT_SERIALIZED_LENGTH_FIELD_BYTES ];
2797- size_t totalPacketLength = 0U ;
2797+ uint32_t totalPacketLength = 0U ;
27982798 size_t ioVectorLength = 0U ;
27992799 size_t unsubscriptionsSent = 0U ;
28002800 size_t vectorsAdded = 0U ;
0 commit comments