espressif / esp-aws-iot

AWS IoT SDK for ESP32 based chipsets
Apache License 2.0
256 stars 153 forks source link

ota_cbor.c: "'cbor_value_get_int' from incompatible pointer type" compilation warnings (CA-310) #198

Open krjeschk opened 9 months ago

krjeschk commented 9 months ago

I encountered compilation warnings when using esp-aws-iot ota-for-aws-iot-embedded-sdk: image

The problems are (as the wanings suggest) incorrect castings here: ota_cbor.c#L135 ota_cbor.c#L154 ota_cbor.c#L173

They are solved in the newest version of aws/ota-for-aws-iot-embedded-sdk, but esp-aws-iot ota-for-aws-iot-embedded-sdk uses the old commit of ota-for-aws-iot-embedded-sdk

Is is possible to update the ota-for-aws-iot-embedded-sdk submodule in the newest esp-aws-iot release?