summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDavid Brownell <dbrownell@users.sourceforge.net>2009-12-18 03:08:49 -0800
committerDavid Brownell <dbrownell@users.sourceforge.net>2009-12-18 03:08:49 -0800
commit85a4136d0baccf5c3b8f717710584f7faed0ca30 (patch)
tree0c07f3aaed60fb6fff13dc8945b8b56f10b38cc9 /src
parente40f6380638ed3f7780b78ceb1411f8b7059a073 (diff)
downloadopenocd+libswd-85a4136d0baccf5c3b8f717710584f7faed0ca30.tar.gz
openocd+libswd-85a4136d0baccf5c3b8f717710584f7faed0ca30.tar.bz2
openocd+libswd-85a4136d0baccf5c3b8f717710584f7faed0ca30.tar.xz
openocd+libswd-85a4136d0baccf5c3b8f717710584f7faed0ca30.zip
dsp563xx: cygwin build fixes
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Diffstat (limited to 'src')
-rw-r--r--src/target/dsp563xx.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/target/dsp563xx.c b/src/target/dsp563xx.c
index d3fa4c3b..9e2f6093 100644
--- a/src/target/dsp563xx.c
+++ b/src/target/dsp563xx.c
@@ -547,7 +547,7 @@ int dsp563xx_halt(struct target *target)
LOG_DEBUG("%02X", jtag_status);
dsp563xx_once_reg_read(target->tap, DSP563XX_ONCE_OSCR,
&once_status);
- LOG_DEBUG("%02X", once_status);
+ LOG_DEBUG("%02X", (unsigned) once_status);
}
LOG_DEBUG("target->state: %s", target_state_name(target));
@@ -606,7 +606,7 @@ int dsp563xx_step(struct target *target, int current, uint32_t address,
return ERROR_OK;
}
- LOG_DEBUG("%s %08X %08X", __FUNCTION__, current, address);
+ LOG_DEBUG("%s %08X %08X", __FUNCTION__, current, (unsigned) address);
dsp563xx_jtag_debug_request(target);
@@ -666,13 +666,13 @@ int dsp563xx_step(struct target *target, int current, uint32_t address,
dsp563xx_once_reg_read(target->tap, DSP563XX_ONCE_OPABFR,
&dr_in);
- LOG_DEBUG("%08X", dr_in);
+ LOG_DEBUG("%08X", (unsigned) dr_in);
dsp563xx_once_reg_read(target->tap, DSP563XX_ONCE_OPABDR,
&dr_in);
- LOG_DEBUG("%08X", dr_in);
+ LOG_DEBUG("%08X", (unsigned) dr_in);
dsp563xx_once_reg_read(target->tap, DSP563XX_ONCE_OPABEX,
&dr_in);
- LOG_DEBUG("%08X", dr_in);
+ LOG_DEBUG("%08X", (unsigned) dr_in);
/* reset trace mode */
dsp563xx_once_reg_write(target->tap, DSP563XX_ONCE_OSCR,