updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / urjtag-svn / urjtag_libftd2xx.patch
blobeb4f9a3bef8f8970512c02f47b64de3a3499f3e5
1 --- urjtag/src/tap/usbconn/libftd2xx.c.ORIG 2011-10-31 10:00:34.746529359 +0100
2 +++ urjtag/src/tap/usbconn/libftd2xx.c 2011-10-31 10:03:43.009128467 +0100
3 @@ -172,7 +172,7 @@
5 urj_log (URJ_LOG_LEVEL_COMM,
6 "%sflush end: status %ld, xferred %ld, recvd %ld\n", module,
7 - status, xferred, recvd);
8 + (long int) status, (long int) xferred, (long int) recvd);
10 return status != FT_OK ? -1 : xferred;
12 @@ -225,7 +225,7 @@
15 urj_log (URJ_LOG_LEVEL_COMM, "%sread end : status %ld, length %d\n",
16 - module, status, cpy_len + len);
17 + module, (long int) status, (int) cpy_len + len);
19 return status != FT_OK ? -1 : cpy_len + len;