From: Spencer Oliver Date: Thu, 10 Dec 2009 11:28:38 +0000 (+0000) Subject: build: fix cygwin build warnings X-Git-Tag: v0.4.0-rc1~57 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=6b9c14e9085b5620c20e9cadffe1f5e64f09a0c6;p=openocd build: fix cygwin build warnings Signed-off-by: Spencer Oliver --- 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); }