Fix Build
This commit is contained in:
parent
be9e9efebc
commit
465f3cce81
@ -70,7 +70,7 @@ void _patch(const char *file, int line, void *start, unsigned char patch[]) {
|
||||
|
||||
mprotect((void *) page_start, end - page_start, PROT_READ | PROT_EXEC);
|
||||
|
||||
__clear_cache(start, end);
|
||||
__clear_cache(start, (void *) end);
|
||||
}
|
||||
|
||||
void _patch_address(const char *file, int line, void *start, void *target) {
|
||||
|
Loading…
Reference in New Issue
Block a user