Azure / azure-iot-middleware-freertos

Azure IoT Middleware for FreeRTOS
https://azure.github.io/azure-iot-middleware-freertos/
MIT License
80 stars 24 forks source link

Fix argument type casting on log statements #175

Closed ewertons closed 3 years ago

ewertons commented 3 years ago

Logging functions often depend on format translation done similar to sprintf. In such case, the void arguments passed need to be cast to const char so the format provided matches the args.

ewertons commented 3 years ago

This PR replaces https://github.com/Azure/azure-iot-middleware-freertos/pull/173