From eafd7a7d3b8d9e3969684216421ee77a808e1f17 Mon Sep 17 00:00:00 2001 From: Edmund Grimley Evans Date: Thu, 15 Oct 2015 19:02:54 +0100 Subject: Correct prototype: void __clear_cache(void *, void *). --- tccrun.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tccrun.c') diff --git a/tccrun.c b/tccrun.c index 55db310..f348e48 100644 --- a/tccrun.c +++ b/tccrun.c @@ -226,7 +226,7 @@ static void set_pages_executable(void *ptr, unsigned long length) unsigned long old_protect; VirtualProtect(ptr, length, PAGE_EXECUTE_READWRITE, &old_protect); #else - extern void __clear_cache(char *beginning, char *end); + extern void __clear_cache(void *beginning, void *end); #ifndef PAGESIZE # define PAGESIZE 4096 #endif -- cgit v1.3.1