From: zwelch Date: Thu, 2 Jul 2009 11:16:57 +0000 (+0000) Subject: Fix FTD2XX build for CygWin. X-Git-Tag: v0.2.0~62 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a239d6b3346cd67d9fd85bd1beeb33bb53a331cf;p=openocd Fix FTD2XX build for CygWin. git-svn-id: svn://svn.berlios.de/openocd/trunk@2454 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- 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++)