summaryrefslogtreecommitdiff
path: root/src/libopenusb1-glue.c
diff options
context:
space:
mode:
authorPhilip Langdale <philipl@overt.org>2013-04-05 14:00:27 -0700
committerLinus Walleij <triad@df.lth.se>2013-04-09 22:40:39 +0200
commit1a5fe0ae4de66d1ca97f7ae712d75b409b1a7841 (patch)
treebf9809a27bf27bcca7f536d5b8c6e0624037931e /src/libopenusb1-glue.c
parentf110a010be6ce10cbdac97c32402ffb21b22f979 (diff)
downloadlibmtp-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.c2
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");