diff options
author | David Brownell <dbrownell@users.sourceforge.net> | 2009-10-10 11:32:39 -0700 |
---|---|---|
committer | David Brownell <dbrownell@users.sourceforge.net> | 2009-10-10 11:32:39 -0700 |
commit | a0b1e05b5300817e1fe2bc4dae31601d02cfd815 (patch) | |
tree | 952b568e3f9d0e5020101f90766c1ff41d009b57 /src/target/arm11.c | |
parent | 456ec367952587ab24b204b233b669a6e33b8af6 (diff) | |
download | riscv-openocd-a0b1e05b5300817e1fe2bc4dae31601d02cfd815.zip riscv-openocd-a0b1e05b5300817e1fe2bc4dae31601d02cfd815.tar.gz riscv-openocd-a0b1e05b5300817e1fe2bc4dae31601d02cfd815.tar.bz2 |
printf format warning fixes
Observed on a Cygwin build.
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Diffstat (limited to 'src/target/arm11.c')
-rw-r--r-- | src/target/arm11.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/target/arm11.c b/src/target/arm11.c index dc46597..588ea3c 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"); |