From 0a31d919e36016fb05bdf0d18f58aa5c32578b2c Mon Sep 17 00:00:00 2001 From: cgsfv Date: Mon, 17 Sep 2018 10:49:36 -0700 Subject: [PATCH] Corrected wrong C syntax --- src/target/riscv/riscv-013.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/target/riscv/riscv-013.c b/src/target/riscv/riscv-013.c index 37206ea36..7a7245f33 100644 --- a/src/target/riscv/riscv-013.c +++ b/src/target/riscv/riscv-013.c @@ -2293,7 +2293,7 @@ static int read_memory_progbuf(struct target *target, target_addr_t address, target_addr_t address_i = address; uint32_t size_i = size; uint32_t count_i = 1; - uint8_t* buffer_i = buffer; + uint8_t *buffer_i = buffer; for (uint32_t i = 0; i < count; i++, address_i += size_i, buffer_i += size_i) { result = read_memory_progbuf_inner(target, address_i, size_i, count_i, buffer_i);