summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSpencer Oliver <ntfreak@users.sourceforge.net>2009-12-10 11:28:38 +0000
committerSpencer Oliver <ntfreak@users.sourceforge.net>2009-12-11 10:26:14 +0000
commit6b9c14e9085b5620c20e9cadffe1f5e64f09a0c6 (patch)
treea26122d58c82f03a478fc9f57c78becc287057db /src
parent97996214f593d0d1969446484598c58077da3965 (diff)
downloadopenocd_libswd-6b9c14e9085b5620c20e9cadffe1f5e64f09a0c6.tar.gz
openocd_libswd-6b9c14e9085b5620c20e9cadffe1f5e64f09a0c6.tar.bz2
openocd_libswd-6b9c14e9085b5620c20e9cadffe1f5e64f09a0c6.tar.xz
openocd_libswd-6b9c14e9085b5620c20e9cadffe1f5e64f09a0c6.zip
build: fix cygwin build warnings
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
Diffstat (limited to 'src')
-rw-r--r--src/jtag/drivers/jlink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jtag/drivers/jlink.c b/src/jtag/drivers/jlink.c
index 54f7cb1d..4ca43490 100644
--- a/src/jtag/drivers/jlink.c
+++ b/src/jtag/drivers/jlink.c
@@ -186,7 +186,7 @@ static void jlink_execute_reset(struct jtag_command *cmd)
static void jlink_execute_sleep(struct jtag_command *cmd)
{
- DEBUG_JTAG_IO("sleep %i", cmd->cmd.sleep->us);
+ DEBUG_JTAG_IO("sleep %" PRIi32 "", cmd->cmd.sleep->us);
jlink_tap_execute();
jtag_sleep(cmd->cmd.sleep->us);
}