diff options
author | 2013-10-02 17:02:33 +0200 | |
---|---|---|
committer | 2013-10-02 17:02:33 +0200 | |
commit | ce2363cbb3361b7e34a0150a92d806573dfef9be (patch) | |
tree | fc00c7b674a3973d1e208e79b81b16c13fe1346f /src/idevicerestore.c | |
parent | 02a500231ff77dd7f1eb2e35fb29ee2aff287658 (diff) | |
download | idevicerestore-ce2363cbb3361b7e34a0150a92d806573dfef9be.tar.gz idevicerestore-ce2363cbb3361b7e34a0150a92d806573dfef9be.tar.bz2 |
img3: make buffers and sizes unsigned
Diffstat (limited to 'src/idevicerestore.c')
-rw-r--r-- | src/idevicerestore.c | 8 |
1 files changed, 4 insertions, 4 deletions
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, '/'); |