aboutsummaryrefslogtreecommitdiff
path: root/include/disas
diff options
context:
space:
mode:
Diffstat (limited to 'include/disas')
-rw-r--r--include/disas/disas.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/disas/disas.h b/include/disas/disas.h
index 36c33f6f19..d363e95ede 100644
--- a/include/disas/disas.h
+++ b/include/disas/disas.h
@@ -7,7 +7,7 @@
#include "cpu.h"
/* Disassemble this for me please... (debugging). */
-void disas(FILE *out, void *code, unsigned long size);
+void disas(FILE *out, const void *code, unsigned long size);
void target_disas(FILE *out, CPUState *cpu, target_ulong code,
target_ulong size);