summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-04-21 12:10:29 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-04-21 12:10:29 +0000
commit97a5e7a60899823fd34bd292973072fe8fdd61d0 (patch)
tree15fc7939582cded51dbc2f4bd8bc85f416a499e8 /src
parent16d497449a9c982878aaa187045ef0b170bc3fb5 (diff)
downloadopenocd_libswd-97a5e7a60899823fd34bd292973072fe8fdd61d0.tar.gz
openocd_libswd-97a5e7a60899823fd34bd292973072fe8fdd61d0.tar.bz2
openocd_libswd-97a5e7a60899823fd34bd292973072fe8fdd61d0.tar.xz
openocd_libswd-97a5e7a60899823fd34bd292973072fe8fdd61d0.zip
Zach Welch <zw@superlucidity.net> fix ft2232 usb io format warning
git-svn-id: svn://svn.berlios.de/openocd/trunk@1497 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src')
-rw-r--r--src/jtag/ft2232.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/jtag/ft2232.c b/src/jtag/ft2232.c
index 8cc93bfa..62b15d65 100644
--- a/src/jtag/ft2232.c
+++ b/src/jtag/ft2232.c
@@ -472,9 +472,10 @@ static int ft2232_send_and_recv(jtag_command_t* first, jtag_command_t* last)
timeval_subtract(&d_inter2, &inter2, &start);
timeval_subtract(&d_end, &end, &start);
- LOG_INFO("inter: %i.%06i, inter2: %i.%06i end: %i.%06i", d_inter.tv_sec, d_inter.tv_usec, d_inter2.tv_sec,
- d_inter2.tv_usec, d_end.tv_sec,
- d_end.tv_usec);
+ LOG_INFO("inter: %u.%06u, inter2: %u.%06u end: %u.%06u",
+ (unsigned)d_inter.tv_sec, (unsigned)d_inter.tv_usec,
+ (unsigned)d_inter2.tv_sec, (unsigned)d_inter2.tv_usec,
+ (unsigned)d_end.tv_sec, (unsigned)d_end.tv_usec);
#endif
ft2232_buffer_size = bytes_read;