summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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;