diff options
author | Linus Walleij <triad@df.lth.se> | 2013-03-05 21:06:55 +0100 |
---|---|---|
committer | Linus Walleij <triad@df.lth.se> | 2013-03-05 21:06:55 +0100 |
commit | b3aaade14e14a67419c3edf6367b50599eec134f (patch) | |
tree | 9cf674a23bda5ad4342c959a70abc9a6c2b32b6c | |
parent | a381e8a353dfd64d25169cfb950b4dc7d4a3032a (diff) | |
download | libmtp-b3aaade14e14a67419c3edf6367b50599eec134f.tar.gz |
Fix signature of ptp_usb_senddata() to be 64bit.
Signed-off-by: Linus Walleij <triad@df.lth.se>
-rw-r--r-- | src/libopenusb1-glue.c | 2 | ||||
-rw-r--r-- | src/libusb-glue.c | 2 | ||||
-rw-r--r-- | src/libusb1-glue.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/libopenusb1-glue.c b/src/libopenusb1-glue.c index 8bd3757..89e1753 100644 --- a/src/libopenusb1-glue.c +++ b/src/libopenusb1-glue.c @@ -1196,7 +1196,7 @@ ptp_usb_sendreq(PTPParams* params, PTPContainer* req) { uint16_t ptp_usb_senddata(PTPParams* params, PTPContainer* ptp, - unsigned long size, PTPDataHandler *handler + uint64_t size, PTPDataHandler *handler ) { uint16_t ret; int wlen, datawlen; diff --git a/src/libusb-glue.c b/src/libusb-glue.c index 7c23f14..83664dd 100644 --- a/src/libusb-glue.c +++ b/src/libusb-glue.c @@ -1186,7 +1186,7 @@ ptp_usb_sendreq (PTPParams* params, PTPContainer* req) uint16_t ptp_usb_senddata (PTPParams* params, PTPContainer* ptp, - unsigned long size, PTPDataHandler *handler + uint64_t size, PTPDataHandler *handler ) { uint16_t ret; int wlen, datawlen; diff --git a/src/libusb1-glue.c b/src/libusb1-glue.c index c038d19..62704d9 100644 --- a/src/libusb1-glue.c +++ b/src/libusb1-glue.c @@ -1184,7 +1184,7 @@ ptp_usb_sendreq (PTPParams* params, PTPContainer* req) uint16_t ptp_usb_senddata (PTPParams* params, PTPContainer* ptp, - unsigned long size, PTPDataHandler *handler + uint64_t size, PTPDataHandler *handler ) { uint16_t ret; int wlen, datawlen; |