aboutsummaryrefslogtreecommitdiff
path: root/include/exec/log.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/exec/log.h')
-rw-r--r--include/exec/log.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/exec/log.h b/include/exec/log.h
index e02fff5..3c7fa65 100644
--- a/include/exec/log.h
+++ b/include/exec/log.h
@@ -56,7 +56,7 @@ static inline void log_target_disas(CPUState *cpu, target_ulong start,
rcu_read_unlock();
}
-static inline void log_disas(void *code, unsigned long size)
+static inline void log_disas(const void *code, unsigned long size)
{
QemuLogFile *logfile;
rcu_read_lock();