summaryrefslogtreecommitdiffstats
path: root/src/dfu.h
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/dfu.h
parentfdbf383a52111014f7e41fde0f1e8ee209679412 (diff)
downloadidevicerestore-012e0aa3d458a44ae3808707b9d5b6038d9095a6.tar.gz
idevicerestore-012e0aa3d458a44ae3808707b9d5b6038d9095a6.tar.bz2
Fix some variable types for more consistency
Diffstat (limited to 'src/dfu.h')
-rw-r--r--src/dfu.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dfu.h b/src/dfu.h
index 6712442..f6174ab 100644
--- a/src/dfu.h
+++ b/src/dfu.h
@@ -44,8 +44,8 @@ int dfu_send_buffer(struct idevicerestore_client_t* client, unsigned char* buffe
int dfu_send_component(struct idevicerestore_client_t* client, plist_t build_identity, const char* component);
int dfu_get_cpid(struct idevicerestore_client_t* client, unsigned int* cpid);
int dfu_is_image4_supported(struct idevicerestore_client_t* client);
-int dfu_get_ap_nonce(struct idevicerestore_client_t* client, unsigned char** nonce, int* nonce_size);
-int dfu_get_sep_nonce(struct idevicerestore_client_t* client, unsigned char** nonce, int* nonce_size);
+int dfu_get_ap_nonce(struct idevicerestore_client_t* client, unsigned char** nonce, unsigned int* nonce_size);
+int dfu_get_sep_nonce(struct idevicerestore_client_t* client, unsigned char** nonce, unsigned int* nonce_size);
int dfu_enter_recovery(struct idevicerestore_client_t* client, plist_t build_identity);