sunflower-embedded-system-emulator icon indicating copy to clipboard operation
sunflower-embedded-system-emulator copied to clipboard

Wrong formatting verb in `main.c`

Open phillipstanleymarbell opened this issue 5 years ago • 0 comments

main.c:781:34: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘size_t {aka long unsigned int}’ [-Wformat=]
   printf("Unknown memory length %d in mmap file.\n", strlen(p));
                                 ~^                   ~~~~~~~~~
                                 %ld

phillipstanleymarbell avatar Apr 19 '20 08:04 phillipstanleymarbell