X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Ftarget%2Fmem_ap.c;fp=src%2Ftarget%2Fmem_ap.c;h=7ed41c63c37bcb1cc8270c0050e009a1e3f3b3e4;hp=ade48b6d7695806c9de0da1124a949f06cd01852;hb=99add6227fe0a3be536f9b83ff6aa7dd63a8d2dc;hpb=e66593f8242d49dd05f6b9c4a5121fa466a158aa diff --git a/src/target/mem_ap.c b/src/target/mem_ap.c index ade48b6d76..7ed41c63c3 100644 --- a/src/target/mem_ap.c +++ b/src/target/mem_ap.c @@ -150,7 +150,7 @@ static int mem_ap_read_memory(struct target *target, target_addr_t address, struct mem_ap *mem_ap = target->arch_info; LOG_DEBUG("Reading memory at physical address " TARGET_ADDR_FMT - "; size %" PRId32 "; count %" PRId32, address, size, count); + "; size %" PRIu32 "; count %" PRIu32, address, size, count); if (count == 0 || buffer == NULL) return ERROR_COMMAND_SYNTAX_ERROR; @@ -165,7 +165,7 @@ static int mem_ap_write_memory(struct target *target, target_addr_t address, struct mem_ap *mem_ap = target->arch_info; LOG_DEBUG("Writing memory at physical address " TARGET_ADDR_FMT - "; size %" PRId32 "; count %" PRId32, address, size, count); + "; size %" PRIu32 "; count %" PRIu32, address, size, count); if (count == 0 || buffer == NULL) return ERROR_COMMAND_SYNTAX_ERROR;