summaryrefslogtreecommitdiff
path: root/camlibs/ptp2/olympus-wrap.c
diff options
context:
space:
mode:
authorMarcus Meissner <marcus@jet.franken.de>2013-01-29 08:38:53 +0000
committerMarcus Meissner <marcus@jet.franken.de>2013-01-29 08:38:53 +0000
commitff17e3c9c5ddb14091765ff5d74b45b75e627dd2 (patch)
treebb754508ffdd0e5eeec82d35eaccfad6b62f8e5c /camlibs/ptp2/olympus-wrap.c
parentbb97e90362e693dcc5e9293bb531e7c525b6c054 (diff)
downloadlibgphoto2-ff17e3c9c5ddb14091765ff5d74b45b75e627dd2.tar.gz
senddata always uses uint64_t
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@14213 67ed7778-7388-44ab-90cf-0a291f65f57c
Diffstat (limited to 'camlibs/ptp2/olympus-wrap.c')
-rw-r--r--camlibs/ptp2/olympus-wrap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/camlibs/ptp2/olympus-wrap.c b/camlibs/ptp2/olympus-wrap.c
index 817fdc594..d9fa1af58 100644
--- a/camlibs/ptp2/olympus-wrap.c
+++ b/camlibs/ptp2/olympus-wrap.c
@@ -274,7 +274,7 @@ ums_wrap_sendreq (PTPParams* params, PTPContainer* req) {
uint16_t
ums_wrap_senddata (
- PTPParams* params, PTPContainer* ptp, unsigned long sendlen, PTPDataHandler*getter
+ PTPParams* params, PTPContainer* ptp, uint64_t sendlen, PTPDataHandler*getter
) {
Camera *camera = ((PTPData *)params->data)->camera;
PTPUSBBulkContainer usbreq;
@@ -1691,7 +1691,7 @@ ums_wrap2_sendreq (PTPParams* params, PTPContainer* req)
uint16_t
ums_wrap2_senddata (
- PTPParams* params, PTPContainer* ptp, unsigned long sendlen, PTPDataHandler*getter
+ PTPParams* params, PTPContainer* ptp, uint64_t sendlen, PTPDataHandler*getter
) {
unsigned char *data;
uint16_t ret;