summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-07-02 11:16:57 +0000
committerzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-07-02 11:16:57 +0000
commita239d6b3346cd67d9fd85bd1beeb33bb53a331cf (patch)
tree1d31048ad2f7f182ec1f3b0bf91b098b3587d529
parentfc240afcac4de15e5d4c0727c0e062ce4d9bbe64 (diff)
downloadopenocd_libswd-a239d6b3346cd67d9fd85bd1beeb33bb53a331cf.tar.gz
openocd_libswd-a239d6b3346cd67d9fd85bd1beeb33bb53a331cf.tar.bz2
openocd_libswd-a239d6b3346cd67d9fd85bd1beeb33bb53a331cf.tar.xz
openocd_libswd-a239d6b3346cd67d9fd85bd1beeb33bb53a331cf.zip
Fix FTD2XX build for CygWin.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2454 b42882b7-edfa-0310-969c-e2dbd0fdcd60
-rw-r--r--src/jtag/ft2232.c2
1 files changed, 1 insertions, 1 deletions
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++)