summaryrefslogtreecommitdiff
path: root/src/target/arm946e.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/target/arm946e.c')
-rw-r--r--src/target/arm946e.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/arm946e.c b/src/target/arm946e.c
index ea9226ef..09227185 100644
--- a/src/target/arm946e.c
+++ b/src/target/arm946e.c
@@ -512,7 +512,7 @@ uint32_t arm946e_invalidate_icache(struct target *target, uint32_t address,
/** Writes a buffer, in the specified word size, with current MMU settings. */
int arm946e_write_memory(struct target *target, uint32_t address,
- uint32_t size, uint32_t count, uint8_t *buffer)
+ uint32_t size, uint32_t count, const uint8_t *buffer)
{
int retval;