xiaoxiang781216 opened a new pull request #5077:
URL: https://github.com/apache/incubator-nuttx/pull/5077


   ## Summary
   ```
   rwbuffer.c: In function 'rwb_initialize':
   rwbuffer.c:842:16: warning: format '%d' expects argument of type 'int', but 
argument 3 has type 'uint32_t' {aka 'long unsigned int'} [-Wformat=]
     842 |           ferr("Write buffer kmm_malloc(%d) failed\n", allocsize);
         |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  ~~~~~~~~~
         |                                                        |
         |                                                        uint32_t {aka 
long unsigned int}
   rwbuffer.c:842:42: note: format string is defined here
     842 |           ferr("Write buffer kmm_malloc(%d) failed\n", allocsize);
         |                                         ~^
         |                                          |
         |                                          int
         |                                         %ld
   In file included from rwbuffer.c:36:
   rwbuffer.c:846:13: warning: format '%d' expects argument of type 'int', but 
argument 3 has type 'uint32_t' {aka 'long unsigned int'} [-Wformat=]
     846 |       finfo("Write buffer size: %d bytes\n", allocsize);
         |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  ~~~~~~~~~
         |                                              |
         |                                              uint32_t {aka long 
unsigned int}
   rwbuffer.c:846:34: note: format string is defined here
     846 |       finfo("Write buffer size: %d bytes\n", allocsize);
         |                                 ~^
         |                                  |
         |                                  int
         |                                 %ld
   ```
   
   ## Impact
   Minor
   
   ## Testing
   Pass CI
   


-- 
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: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to