You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
clang warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not
#39
Open
yurivict opened this issue
Jul 3, 2022
· 0 comments
../src/arena.c:110:40: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
if (!mincore(addr, pagesize(), &p))
^~
/usr/include/sys/mman.h:327:41: note: passing argument to parameter here
int mincore(const void *, size_t, char *);
^
The text was updated successfully, but these errors were encountered:
clang-13 prints this:
The text was updated successfully, but these errors were encountered: