summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2012-11-07 22:30:31 +0100
committerGravatar Martin Szulecki2012-11-07 22:30:31 +0100
commit51b92489752110c56dbbcac17fd86ffdfe551101 (patch)
tree8c013406c6a24163a1afb57507118df98cdb58c4
parentac89f2f629ded140511fc6239e63d9d73eee6328 (diff)
downloadidevicerestore-51b92489752110c56dbbcac17fd86ffdfe551101.tar.gz
idevicerestore-51b92489752110c56dbbcac17fd86ffdfe551101.tar.bz2
normal: Fix compiler warnings
-rw-r--r--src/normal.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/normal.c b/src/normal.c
index 2749555..e8835d2 100644
--- a/src/normal.c
+++ b/src/normal.c
@@ -368,7 +368,8 @@ int normal_get_nonce(struct idevicerestore_client_t* client, unsigned char** non
idevice_free(device);
return -1;
}
- plist_get_data_val(nonce_node, nonce, nonce_size);
+
+ plist_get_data_val(nonce_node, (char**)nonce, (uint64_t*)nonce_size);
plist_free(nonce_node);
lockdownd_client_free(lockdown);