From 4f6e61eb9ec0af09a85bcbd83e6897782eb669aa Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Wed, 2 Oct 2013 19:17:42 +0200 Subject: dfu: make sure buffers are of type unsigned char* --- src/dfu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/dfu.h') diff --git a/src/dfu.h b/src/dfu.h index 3f5ea1c..8b57022 100644 --- a/src/dfu.h +++ b/src/dfu.h @@ -41,7 +41,7 @@ int dfu_client_new(struct idevicerestore_client_t* client); void dfu_client_free(struct idevicerestore_client_t* client); int dfu_check_mode(struct idevicerestore_client_t* client, int* mode); const char* dfu_check_product_type(struct idevicerestore_client_t* client); -int dfu_send_buffer(struct idevicerestore_client_t* client, char* buffer, uint32_t size); +int dfu_send_buffer(struct idevicerestore_client_t* client, unsigned char* buffer, unsigned int size); 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_get_nonce(struct idevicerestore_client_t* client, unsigned char** nonce, int* nonce_size); -- cgit v1.1-32-gdbae