aboutsummaryrefslogtreecommitdiff
path: root/sim/common/sim-cpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'sim/common/sim-cpu.h')
-rw-r--r--sim/common/sim-cpu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/common/sim-cpu.h b/sim/common/sim-cpu.h
index 9e09a55..2ad5667 100644
--- a/sim/common/sim-cpu.h
+++ b/sim/common/sim-cpu.h
@@ -31,7 +31,7 @@ typedef const char * (CPU_INSN_NAME_FN) (sim_cpu *, int);
/* Types for register access functions.
These routines implement the sim_{fetch,store}_register interface. */
typedef int (CPUREG_FETCH_FN) (sim_cpu *, int, unsigned char *, int);
-typedef int (CPUREG_STORE_FN) (sim_cpu *, int, unsigned char *, int);
+typedef int (CPUREG_STORE_FN) (sim_cpu *, int, const unsigned char *, int);
/* Types for PC access functions.
Some simulators require a functional interface to access the program