diff options
author | Philip Langdale <philipl@overt.org> | 2013-04-05 14:00:27 -0700 |
---|---|---|
committer | Linus Walleij <triad@df.lth.se> | 2013-04-09 22:40:39 +0200 |
commit | 1a5fe0ae4de66d1ca97f7ae712d75b409b1a7841 (patch) | |
tree | bf9809a27bf27bcca7f536d5b8c6e0624037931e /src/libopenusb1-glue.c | |
parent | f110a010be6ce10cbdac97c32402ffb21b22f979 (diff) | |
download | libmtp-1a5fe0ae4de66d1ca97f7ae712d75b409b1a7841.tar.gz |
ptp: Apply missing changes to support > 4GB transfers.
Not sure why, but these changes were dropped when the original
patchset was applied. The rest of the changes to ptp made it in.
Signed-off-by: Philip Langdale <philipl@overt.org>
Signed-off-by: Linus Walleij <triad@df.lth.se>
Diffstat (limited to 'src/libopenusb1-glue.c')
-rw-r--r-- | src/libopenusb1-glue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libopenusb1-glue.c b/src/libopenusb1-glue.c index 89e1753..64f641c 100644 --- a/src/libopenusb1-glue.c +++ b/src/libopenusb1-glue.c @@ -1202,7 +1202,7 @@ ptp_usb_senddata(PTPParams* params, PTPContainer* ptp, int wlen, datawlen; unsigned long written; PTPUSBBulkContainer usbdata; - uint32_t bytes_left_to_transfer; + uint64_t bytes_left_to_transfer; PTPDataHandler memhandler; LIBMTP_USB_DEBUG("SEND DATA PHASE\n"); |