Commit 9aebe6a3ad2301d82d3d532acf47e1ef1477119b

Authored by unknown
1 parent 2ce696ba

Fix prototype of page_unprotect.

Showing 1 changed file with 1 additions and 1 deletions
... ... @@ -2225,7 +2225,7 @@ int page_check_range(target_ulong start, target_ulong len, int flags)
2225 2225  
2226 2226 /* called from signal handler: invalidate the code and unprotect the
2227 2227 page. Return TRUE if the fault was successfully handled. */
2228   -int page_unprotect(target_ulong address, unsigned long pc, void *puc)
  2228 +int page_unprotect(target_ulong address, uintptr_t pc, void *puc)
2229 2229 {
2230 2230 unsigned int page_index, prot, pindex;
2231 2231 PageDesc *p, *p1;
... ...