diff options
Diffstat (limited to 'softmmu-semi.h')
-rw-r--r-- | softmmu-semi.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/softmmu-semi.h b/softmmu-semi.h index 13c528bb84..527943a76f 100644 --- a/softmmu-semi.h +++ b/softmmu-semi.h @@ -41,7 +41,7 @@ static void *softmmu_lock_user(CPUState *env, uint32_t addr, uint32_t len, cpu_memory_rw_debug(env, addr, p, len, 0); return p; } -#define lock_user(p, len, copy) softmmu_lock_user(env, p, len, copy) +#define lock_user(type, p, len, copy) softmmu_lock_user(env, p, len, copy) static char *softmmu_lock_user_string(CPUState *env, uint32_t addr) { char *p; |