types: write memory now uses const
[fw/openocd] / src / target / arm720t.c
index 96e0baaf5c21f2a74d9aff874c5b74b229d37674..76862ed5b13494856aad45e6f375f0036a89d94b 100644 (file)
@@ -330,7 +330,7 @@ static int arm720t_read_phys_memory(struct target *target,
 }
 
 static int arm720t_write_phys_memory(struct target *target,
-               uint32_t address, uint32_t size, uint32_t count, uint8_t *buffer)
+               uint32_t address, uint32_t size, uint32_t count, const uint8_t *buffer)
 {
        struct arm720t_common *arm720t = target_to_arm720(target);