From a239d6b3346cd67d9fd85bd1beeb33bb53a331cf Mon Sep 17 00:00:00 2001 From: zwelch Date: Thu, 2 Jul 2009 11:16:57 +0000 Subject: Fix FTD2XX build for CygWin. git-svn-id: svn://svn.berlios.de/openocd/trunk@2454 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- src/jtag/ft2232.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/jtag/ft2232.c b/src/jtag/ft2232.c index 4cba9d90..e17d51d6 100644 --- a/src/jtag/ft2232.c +++ b/src/jtag/ft2232.c @@ -1885,7 +1885,7 @@ static int ft2232_init_ftd2xx(uint16_t vid, uint16_t pid, int more, int* try_mor { LOG_ERROR("ListDevices: %lu\n", num_devices); for (i = 0; i < num_devices; i++) - LOG_ERROR("%i: \"%s\"", i, desc_array[i]); + LOG_ERROR("%" PRIu32 ": \"%s\"", i, desc_array[i]); } for (i = 0; i < num_devices; i++) -- cgit v1.2.3