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
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;
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;