summaryrefslogtreecommitdiffstats
path: root/src/AFC.c
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2009-06-21 23:06:30 +0200
committerGravatar Matt Colyer2009-06-29 19:31:01 -0700
commitab7bd65b8080126cc798611192b36b867729f5bb (patch)
tree60e4d55a25be2aaa70f9e012de740b5301043b3d /src/AFC.c
parent5b99c2fc482bc5449c14b0faa969496e4c875787 (diff)
downloadlibimobiledevice-ab7bd65b8080126cc798611192b36b867729f5bb.tar.gz
libimobiledevice-ab7bd65b8080126cc798611192b36b867729f5bb.tar.bz2
Silence compiler warning for dispatch_AFC_packet()
Diffstat (limited to 'src/AFC.c')
-rw-r--r--src/AFC.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/AFC.c b/src/AFC.c
index 71093df..abaeb3f 100644
--- a/src/AFC.c
+++ b/src/AFC.c
@@ -213,7 +213,7 @@ int iphone_afc_get_errno(iphone_afc_client_t client)
* reason is that if you set them to different values, it indicates
* you want to send the data as two packets.
*/
-static int dispatch_AFC_packet(iphone_afc_client_t client, const char *data, int length)
+static int dispatch_AFC_packet(iphone_afc_client_t client, const char *data, uint64_t length)
{
int bytes = 0, offset = 0;
char *buffer;