nuttxs opened a new pull request, #16883:
URL: https://github.com/apache/nuttx/pull/16883

   ## Summary
   esp32/esp32_partition.c: based on the latest revision, in the ESP32 
compilation environment, uint32_t is defined as long unsigned int (i.e., 
unsigned long)
   
   ## Impact
   
   New Feature/Change: No
   User Impact: No
   Build Impact:No new Kconfig options or build system changes.
   Hardware Impact: No
   Security: No
   Compatibility: Backward-compatible; no breaking changes.
   
   ## Testing
   ```
   chip/esp32_partition.c:348:18: warning: format '%d' expects argument of type 
'int', but argument 3 has type 'uint32_t' {aka 'long unsigned int'} [-Wformat=]
     348 |             ferr("ERROR: Failed to erase OTA%d data error=%d\n", 
sec, ret);
         |                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  ~~~
         |                                                                  |
         |                                                                  
uint32_t {aka long unsigned int
   ......
   ```
   After the fix, check that there are no compilation warnings. 
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to