summaryrefslogtreecommitdiffstats
path: root/src/AFC.c
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2009-06-21 23:06:30 +0200
committerGravatar Martin Szulecki2009-06-21 23:06:30 +0200
commit4697b70a0110d15c2a79804e1e2e2fcf7a3b3ec5 (patch)
tree2e66c593ed19ec1bb25a8e96dfb018de0b4e1544 /src/AFC.c
parent773f5c797622bedbc2aed0ee8d8680e45a2807d2 (diff)
downloadlibimobiledevice-4697b70a0110d15c2a79804e1e2e2fcf7a3b3ec5.tar.gz
libimobiledevice-4697b70a0110d15c2a79804e1e2e2fcf7a3b3ec5.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;