summaryrefslogtreecommitdiffstats
path: root/src/recovery.c
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2013-10-02 15:40:54 +0200
committerGravatar Nikias Bassen2013-10-02 15:40:54 +0200
commit930031521ab8abc4423cb00360074aa801db2d1e (patch)
treebe4ebff3ba4b805c085ce77d58e235601c919d3a /src/recovery.c
parent8e7c2a05bdf27e280f1738a618912f7833b9ef36 (diff)
downloadidevicerestore-930031521ab8abc4423cb00360074aa801db2d1e.tar.gz
idevicerestore-930031521ab8abc4423cb00360074aa801db2d1e.tar.bz2
silence implicit declaration compiler warnings
Diffstat (limited to 'src/recovery.c')
-rw-r--r--src/recovery.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/recovery.c b/src/recovery.c
index 5e3dc91..fb5a0fc 100644
--- a/src/recovery.c
+++ b/src/recovery.c
@@ -24,6 +24,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <unistd.h>
#include <libirecovery.h>
#include <libimobiledevice/restore.h>
#include <libimobiledevice/libimobiledevice.h>
@@ -261,8 +262,8 @@ int recovery_send_ticket(struct idevicerestore_client_t* client)
}
int recovery_send_component(struct idevicerestore_client_t* client, plist_t build_identity, const char* component) {
- uint32_t size = 0;
- char* data = NULL;
+ unsigned int size = 0;
+ unsigned char* data = NULL;
char* path = NULL;
char* blob = NULL;
irecv_error_t err = 0;