X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Ftarget%2Farm11.c;h=588ea3c27598a0f2ce8541ba087b0fbc4d6e3403;hp=dc465973bb9acd8539a27cf1bf54b105d45a09ef;hb=a0b1e05b5300817e1fe2bc4dae31601d02cfd815;hpb=456ec367952587ab24b204b233b669a6e33b8af6 diff --git a/src/target/arm11.c b/src/target/arm11.c index dc465973bb..588ea3c275 100644 --- a/src/target/arm11.c +++ b/src/target/arm11.c @@ -1480,8 +1480,10 @@ int arm11_write_memory(struct target_s *target, uint32_t address, uint32_t size, if (address + size * count != r0) { - LOG_ERROR("Data transfer failed. Expected end address 0x%08x, got 0x%08x", - address + size * count, r0); + LOG_ERROR("Data transfer failed. Expected end " + "address 0x%08x, got 0x%08x", + (unsigned) (address + size * count), + (unsigned) r0); if (arm11_config_memwrite_burst) LOG_ERROR("use 'arm11 memwrite burst disable' to disable fast burst mode");