Corrected wrong C syntax

This commit is contained in:
cgsfv 2018-09-17 10:49:36 -07:00
parent c3a744149c
commit 0a31d919e3
1 changed files with 1 additions and 1 deletions

View File

@ -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);