summaryrefslogtreecommitdiff
path: root/libgphoto2/gphoto2-file.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgphoto2/gphoto2-file.c')
-rw-r--r--libgphoto2/gphoto2-file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgphoto2/gphoto2-file.c b/libgphoto2/gphoto2-file.c
index fed4b95f8..b1dec9880 100644
--- a/libgphoto2/gphoto2-file.c
+++ b/libgphoto2/gphoto2-file.c
@@ -238,7 +238,7 @@ gp_file_append (CameraFile *file, const char *data,
**/
int
gp_file_slurp (CameraFile *file, char *data,
- unsigned long size, unsigned long *readlen
+ size_t size, size_t *readlen
) {
CHECK_NULL (file);