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


   ## Summary
   
   If size_t != uint32_t, this can give a build error:
   
    mtd/mtd_progmem.c:134:16: error: conflicting types for 'progmem_log2'
      134 | static int32_t progmem_log2(uint32_t blocksize)
          |                ^~~~~~~~~~~~
    mtd/mtd_progmem.c:82:16: note: previous declaration of 'progmem_log2' was 
here
       82 | static int32_t progmem_log2(size_t blocksize);
          |                ^~~~~~~~~~~~
    Makefile:118: recipe for target 'mtd_progmem.o' failed
   
   Signed-off-by: Juha Niskanen <juha.niska...@haltian.com>
   
   ## Impact
   No functional change
   ## Testing
   Compile tested only
   


----------------------------------------------------------------
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.

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


Reply via email to