diff options
author | 2013-10-02 19:17:42 +0200 | |
---|---|---|
committer | 2013-10-02 19:17:42 +0200 | |
commit | 4f6e61eb9ec0af09a85bcbd83e6897782eb669aa (patch) | |
tree | bb562edf3c0de0e6ef109a5ade9c82e6ede0b32d /src/dfu.h | |
parent | d37b4c3740acfbfda28b334498d01fd56be0ff38 (diff) | |
download | idevicerestore-4f6e61eb9ec0af09a85bcbd83e6897782eb669aa.tar.gz idevicerestore-4f6e61eb9ec0af09a85bcbd83e6897782eb669aa.tar.bz2 |
dfu: make sure buffers are of type unsigned char*
Diffstat (limited to 'src/dfu.h')
-rw-r--r-- | src/dfu.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |