diff options
author | duane <duane@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-07-11 02:01:22 +0000 |
---|---|---|
committer | duane <duane@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-07-11 02:01:22 +0000 |
commit | 5627e841e39f04ea09001b99a4ff78d33de217da (patch) | |
tree | 4916e46d2bd5458599271b1d63f024866eef39b1 | |
parent | c05cb61b32744f6a30136a8602e20f5bf58cefdd (diff) | |
download | openocd+libswd-5627e841e39f04ea09001b99a4ff78d33de217da.tar.gz openocd+libswd-5627e841e39f04ea09001b99a4ff78d33de217da.tar.bz2 openocd+libswd-5627e841e39f04ea09001b99a4ff78d33de217da.tar.xz openocd+libswd-5627e841e39f04ea09001b99a4ff78d33de217da.zip |
Simple warning fix
git-svn-id: svn://svn.berlios.de/openocd/trunk@2507 b42882b7-edfa-0310-969c-e2dbd0fdcd60
-rw-r--r-- | src/jtag/presto.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jtag/presto.c b/src/jtag/presto.c index 67b89988..09722233 100644 --- a/src/jtag/presto.c +++ b/src/jtag/presto.c @@ -239,7 +239,7 @@ static int presto_open_ftd2xx(char *req_serial) 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 @@ static int presto_open_ftd2xx(char *req_serial) 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; } |