summaryrefslogtreecommitdiffstats
path: root/src/recovery.c
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2024-03-23 00:49:55 +0100
committerGravatar Nikias Bassen2024-03-23 00:49:55 +0100
commit012e0aa3d458a44ae3808707b9d5b6038d9095a6 (patch)
treec64b2e93cbf779022f6a944b330f728564695719 /src/recovery.c
parentfdbf383a52111014f7e41fde0f1e8ee209679412 (diff)
downloadidevicerestore-012e0aa3d458a44ae3808707b9d5b6038d9095a6.tar.gz
idevicerestore-012e0aa3d458a44ae3808707b9d5b6038d9095a6.tar.bz2
Fix some variable types for more consistency
Diffstat (limited to 'src/recovery.c')
-rw-r--r--src/recovery.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/recovery.c b/src/recovery.c
index 02f5689..e3fb4d1 100644
--- a/src/recovery.c
+++ b/src/recovery.c
@@ -537,7 +537,7 @@ int recovery_is_image4_supported(struct idevicerestore_client_t* client)
return (device_info->ibfl & IBOOT_FLAG_IMAGE4_AWARE);
}
-int recovery_get_ap_nonce(struct idevicerestore_client_t* client, unsigned char** nonce, int* nonce_size)
+int recovery_get_ap_nonce(struct idevicerestore_client_t* client, unsigned char** nonce, unsigned int* nonce_size)
{
if(client->recovery == NULL) {
if (recovery_client_new(client) < 0) {
@@ -562,7 +562,7 @@ int recovery_get_ap_nonce(struct idevicerestore_client_t* client, unsigned char*
return 0;
}
-int recovery_get_sep_nonce(struct idevicerestore_client_t* client, unsigned char** nonce, int* nonce_size)
+int recovery_get_sep_nonce(struct idevicerestore_client_t* client, unsigned char** nonce, unsigned int* nonce_size)
{
if(client->recovery == NULL) {
if (recovery_client_new(client) < 0) {