0f524ca013
fb_main.c: In function 'fb_main': fb_main.c:473:15: warning: passing argument 1 of 'munmap' makes pointer from integer without a cast [-Wint-conversion] 473 | munmap(state.fd, state.fbmem); | ~~~~~^~~ | | | int In file included from fb_main.c:43: /home/archer/code/upload/incubator-nuttx/include/sys/mman.h:177:22: note: expected 'void *' but argument is of type 'int' 177 | int munmap(FAR void *start, size_t length); | ~~~~~~^~~~~ fb_main.c:473:25: warning: passing argument 2 of 'munmap' makes integer from pointer without a cast [-Wint-conversion] 473 | munmap(state.fd, state.fbmem); | ~~~~~^~~~~~ | | | void * In file included from fb_main.c:43: /home/archer/code/upload/incubator-nuttx/include/sys/mman.h:177:36: note: expected 'size_t' {aka 'unsigned int'} but argument is of type 'void *' 177 | int munmap(FAR void *start, size_t length); | ~~~~~~~^~~~~~ Signed-off-by: chao.an <anchao@xiaomi.com> |
||
---|---|---|
.. | ||
fb_main.c | ||
Kconfig | ||
Make.defs | ||
Makefile |