Fix compile warnings.
Partly fixes #124. Change-Id: I3a7fd65c643e40b142709806cb9fb4cc62bb955fmacbuild
parent
abe7eba25a
commit
24658db50e
|
@ -2080,7 +2080,7 @@ static int read_memory(struct target *target, target_addr_t address,
|
|||
cache_write(target, CACHE_NO_READ, false);
|
||||
|
||||
riscv011_info_t *info = get_info(target);
|
||||
const int max_batch_size = 256;
|
||||
const unsigned max_batch_size = 256;
|
||||
scans_t *scans = scans_new(target, max_batch_size);
|
||||
|
||||
uint32_t result_value = 0x777;
|
||||
|
@ -2241,7 +2241,7 @@ static int write_memory(struct target *target, target_addr_t address,
|
|||
return ERROR_FAIL;
|
||||
}
|
||||
|
||||
const int max_batch_size = 256;
|
||||
const unsigned max_batch_size = 256;
|
||||
scans_t *scans = scans_new(target, max_batch_size);
|
||||
|
||||
uint32_t result_value = 0x777;
|
||||
|
|
Loading…
Reference in New Issue