From: <du...@ma...> - 2009-07-11 04:01:26
|
Author: duane Date: 2009-07-11 04:01:22 +0200 (Sat, 11 Jul 2009) New Revision: 2507 Modified: trunk/src/jtag/presto.c Log: Simple warning fix Modified: trunk/src/jtag/presto.c =================================================================== --- trunk/src/jtag/presto.c 2009-07-10 08:47:10 UTC (rev 2506) +++ trunk/src/jtag/presto.c 2009-07-11 02:01:22 UTC (rev 2507) @@ -239,7 +239,7 @@ LOG_DEBUG("FT_Open failed: %i", (int)presto->status); continue; } - LOG_DEBUG("FTDI device %i open", i); + LOG_DEBUG("FTDI device %i open", (int)i); if ((presto->status = FT_GetDeviceInfo(presto->handle, &device, &vidpid, presto->serial, devname, NULL)) == FT_OK) @@ -251,7 +251,7 @@ else LOG_DEBUG("FT_GetDeviceInfo failed: %lu", presto->status); - LOG_DEBUG("FTDI device %i does not match, closing", i); + LOG_DEBUG("FTDI device %i does not match, closing", (int)i); FT_Close(presto->handle); presto->handle = (FT_HANDLE)INVALID_HANDLE_VALUE; } |