]> git.sur5r.net Git - openocd/commitdiff
Fix FTD2XX build for CygWin.
authorzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Thu, 2 Jul 2009 11:16:57 +0000 (11:16 +0000)
committerzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Thu, 2 Jul 2009 11:16:57 +0000 (11:16 +0000)
git-svn-id: svn://svn.berlios.de/openocd/trunk@2454 b42882b7-edfa-0310-969c-e2dbd0fdcd60

src/jtag/ft2232.c

index 4cba9d908560453b472005d50d46c151619c4c9d..e17d51d6b0530f2fcda5761d983a132b14f3589e 100644 (file)
@@ -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++)