diff options
author | Paul Fertser <fercerpav@gmail.com> | 2013-09-30 13:31:57 +0400 |
---|---|---|
committer | Spencer Oliver <spen@spen-soft.co.uk> | 2013-10-31 20:40:03 +0000 |
commit | f132fcf636361009b4125827351ef01556d49b31 (patch) | |
tree | 5c412d322cf4b16b9b9b212023f06f0545256abf /src/flash/nor/cfi.c | |
parent | 75b4cbe356467e48182790e39254cae88d590883 (diff) | |
download | riscv-openocd-f132fcf636361009b4125827351ef01556d49b31.zip riscv-openocd-f132fcf636361009b4125827351ef01556d49b31.tar.gz riscv-openocd-f132fcf636361009b4125827351ef01556d49b31.tar.bz2 |
Clean up many C99 integer types format specifiers
This eliminates most of the warnings reported when building for
arm-none-eabi (newlib).
Hsiangkai, there're many similar warnings left in your nds32 files, I
didn't have the nerve to clean them all, probably you could pick it
up.
Change-Id: Id3bbe2ed2e3f1396290e55bea4c45068165a4810
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Reviewed-on: http://openocd.zylin.com/1674
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
Diffstat (limited to 'src/flash/nor/cfi.c')
-rw-r--r-- | src/flash/nor/cfi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flash/nor/cfi.c b/src/flash/nor/cfi.c index c443de2..2ade84a 100644 --- a/src/flash/nor/cfi.c +++ b/src/flash/nor/cfi.c @@ -2307,7 +2307,7 @@ static int cfi_read(struct flash_bank *bank, uint8_t *buffer, uint32_t offset, u } if (count) { - LOG_INFO("Fixup %d unaligned read tail bytes", count); + LOG_INFO("Fixup %" PRIu32 " unaligned read tail bytes", count); /* read a complete word from flash */ retval = target_read_memory(target, read_p, bank->bus_width, 1, current_word); |