summaryrefslogtreecommitdiff
path: root/backend_x86.c
diff options
context:
space:
mode:
Diffstat (limited to 'backend_x86.c')
-rw-r--r--backend_x86.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend_x86.c b/backend_x86.c
index 7f75761..6ba1a7a 100644
--- a/backend_x86.c
+++ b/backend_x86.c
@@ -28,7 +28,7 @@ void check_cycles(cpu_options * opts)
*jmp_off = code->cur - (jmp_off+1);
}
-code_ptr gen_mem_fun(cpu_options * opts, memmap_chunk * memmap, uint32_t num_chunks, ftype fun_type, code_ptr *after_inc)
+code_ptr gen_mem_fun(cpu_options * opts, memmap_chunk const * memmap, uint32_t num_chunks, ftype fun_type, code_ptr *after_inc)
{
code_info *code = &opts->code;
code_ptr start = code->cur;