Closed ewertons closed 1 year ago
This fix addresses the following warnings: C:/docs/iot-middleware-freertos-samples/demos/projects/ST/b-l475e-iot01a/port/azure_iot_flash_platform.c:94:29: warning: initialization of 'uint32_t' {aka 'long unsigned int'} from 'uint8_t ' {aka 'unsigned char '} makes integer from pointer without a cast [-Wint-conversion] 94 | uint32_t ulEndOfBlock = pxAduImage->xUpdatePartition + ulOffset + ulBlockSize; | ^~~~~~ C:/docs/iot-middleware-freertos-samples/demos/projects/ST/b-l475e-iot01a/port/azure_iot_flash_platform.c:98:29: warning: comparison between pointer and integer 98 | while( pucNextWriteAddr < ulEndOfBlock ) | ^
[ ] Yes [x] No
What kind of change does this Pull Request introduce?
[x] Bugfix [ ] Feature [ ] Code style update (formatting, local variables) [ ] Refactoring (no functional changes, no api changes) [ ] Documentation content changes [ ] Other... Please describe:
Test the sample ST b-l475e-iot01a.
That these specific warnings are not logged by the compiler.
Purpose
This fix addresses the following warnings: C:/docs/iot-middleware-freertos-samples/demos/projects/ST/b-l475e-iot01a/port/azure_iot_flash_platform.c:94:29: warning: initialization of 'uint32_t' {aka 'long unsigned int'} from 'uint8_t ' {aka 'unsigned char '} makes integer from pointer without a cast [-Wint-conversion] 94 | uint32_t ulEndOfBlock = pxAduImage->xUpdatePartition + ulOffset + ulBlockSize; | ^
~~~~~ C:/docs/iot-middleware-freertos-samples/demos/projects/ST/b-l475e-iot01a/port/azure_iot_flash_platform.c:98:29: warning: comparison between pointer and integer 98 | while( pucNextWriteAddr < ulEndOfBlock ) | ^Does this introduce a breaking change?
Pull Request Type
What kind of change does this Pull Request introduce?
How to Test
Test the sample ST b-l475e-iot01a.
What to Check
That these specific warnings are not logged by the compiler.
Other Information