From ce2363cbb3361b7e34a0150a92d806573dfef9be Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Wed, 2 Oct 2013 17:02:33 +0200 Subject: img3: make buffers and sizes unsigned --- src/idevicerestore.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/idevicerestore.c') diff --git a/src/idevicerestore.c b/src/idevicerestore.c index 6b3e5d7..f64db02 100644 --- a/src/idevicerestore.c +++ b/src/idevicerestore.c @@ -195,7 +195,7 @@ int idevicerestore_start(struct idevicerestore_client_t* client) info("Found device in %s mode\n", client->mode->string); if (client->mode->index == MODE_WTF) { - int cpid = 0; + unsigned int cpid = 0; if (dfu_client_new(client) != 0) { error("ERROR: Could not open device in WTF mode\n"); @@ -1427,9 +1427,9 @@ int build_manifest_get_identity_count(plist_t build_manifest) { int ipsw_get_component_by_path(const char* ipsw, plist_t tss, const char* component, const char* path, char** data, uint32_t* size) { img3_file* img3 = NULL; - uint32_t component_size = 0; - char* component_data = NULL; - char* component_blob = NULL; + unsigned int component_size = 0; + unsigned char* component_data = NULL; + unsigned char* component_blob = NULL; char* component_name = NULL; component_name = strrchr(path, '/'); -- cgit v1.1-32-gdbae