]> git.sur5r.net Git - openocd/commitdiff
build: fix cygwin build warnings
authorSpencer Oliver <ntfreak@users.sourceforge.net>
Thu, 10 Dec 2009 11:28:38 +0000 (11:28 +0000)
committerSpencer Oliver <ntfreak@users.sourceforge.net>
Fri, 11 Dec 2009 10:26:14 +0000 (10:26 +0000)
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
src/jtag/drivers/jlink.c

index 54f7cb1d5ec7972e7b23f52947906c3a2f4bd072..4ca4349063f05c173a4af8fa57684a35c81134a8 100644 (file)
@@ -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);
 }