Add a (void*) cast for the last parameter when calling mincore.
The third parameter to mincore(2) can be a pointer to char or unsigned char, depending on what system it's building on. To build in either case, just cast that argument to a (void *).
Loading
Please register or sign in to comment