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
__archive__
oharboe 2009-04-21 12:10:29 +00:00
parent 16d497449a
commit 97a5e7a608
1 changed files with 4 additions and 3 deletions

View File

@ -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;