summarylogtreecommitdiffstats
path: root/urjtag_libftd2xx.patch
diff options
context:
space:
mode:
authorPeter Ivanov2015-06-23 10:19:45 +0200
committerPeter Ivanov2015-06-23 10:19:45 +0200
commit821e6b91eaa2921b1e810d8f99abb2a64b7d878d (patch)
treec45bcf7409ebe3bb00787573de9d38e94f43a695 /urjtag_libftd2xx.patch
downloadaur-821e6b91eaa2921b1e810d8f99abb2a64b7d878d.tar.gz
Initial import
Diffstat (limited to 'urjtag_libftd2xx.patch')
-rw-r--r--urjtag_libftd2xx.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/urjtag_libftd2xx.patch b/urjtag_libftd2xx.patch
new file mode 100644
index 000000000000..eb4f9a3bef8f
--- /dev/null
+++ b/urjtag_libftd2xx.patch
@@ -0,0 +1,20 @@
+--- urjtag/src/tap/usbconn/libftd2xx.c.ORIG 2011-10-31 10:00:34.746529359 +0100
++++ urjtag/src/tap/usbconn/libftd2xx.c 2011-10-31 10:03:43.009128467 +0100
+@@ -172,7 +172,7 @@
+
+ urj_log (URJ_LOG_LEVEL_COMM,
+ "%sflush end: status %ld, xferred %ld, recvd %ld\n", module,
+- status, xferred, recvd);
++ (long int) status, (long int) xferred, (long int) recvd);
+
+ return status != FT_OK ? -1 : xferred;
+ }
+@@ -225,7 +225,7 @@
+ }
+
+ urj_log (URJ_LOG_LEVEL_COMM, "%sread end : status %ld, length %d\n",
+- module, status, cpy_len + len);
++ module, (long int) status, (int) cpy_len + len);
+
+ return status != FT_OK ? -1 : cpy_len + len;
+ }