diff options
author | duane <duane@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-06-21 03:16:18 +0000 |
---|---|---|
committer | duane <duane@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-06-21 03:16:18 +0000 |
commit | 57be9774bf27c800433c2c6f387656a7d663b8ad (patch) | |
tree | 49480cdda603de50c904d84812302d4f05f6eae1 /src/target | |
parent | 75bb37056a8a5e18b020da474395cb4c08ff8a5a (diff) | |
download | riscv-openocd-57be9774bf27c800433c2c6f387656a7d663b8ad.zip riscv-openocd-57be9774bf27c800433c2c6f387656a7d663b8ad.tar.gz riscv-openocd-57be9774bf27c800433c2c6f387656a7d663b8ad.tar.bz2 |
C99 printf() -Werror fixes
git-svn-id: svn://svn.berlios.de/openocd/trunk@2314 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/target')
-rw-r--r-- | src/target/embeddedice.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/target/embeddedice.c b/src/target/embeddedice.c index 28fe40e..acb4b61 100644 --- a/src/target/embeddedice.c +++ b/src/target/embeddedice.c @@ -186,7 +186,7 @@ reg_cache_t* embeddedice_build_reg_cache(target_t *target, arm7_9_common_t *arm7 */ if (strcmp(target_get_name(target), "feroceon") == 0) break; - LOG_ERROR("unknown EmbeddedICE version (comms ctrl: 0x%8.8x)", buf_get_u32(reg_list[EICE_COMMS_CTRL].value, 0, 32)); + LOG_ERROR("unknown EmbeddedICE version (comms ctrl: 0x%8.8" PRIx32 ")", buf_get_u32(reg_list[EICE_COMMS_CTRL].value, 0, 32)); } return reg_cache; @@ -367,7 +367,7 @@ void embeddedice_write_reg(reg_t *reg, uint32_t value) { embeddedice_reg_t *ice_reg = reg->arch_info; - LOG_DEBUG("%i: 0x%8.8x", ice_reg->addr, value); + LOG_DEBUG("%i: 0x%8.8" PRIx32 "", ice_reg->addr, value); jtag_set_end_state(TAP_IDLE); arm_jtag_scann(ice_reg->jtag_info, 0x2); |