diff options
author | 2025-07-01 00:45:50 +0200 | |
---|---|---|
committer | 2025-07-01 00:45:50 +0200 | |
commit | c752e8780b043c8822be2417cc5596b8f2ad9c0b (patch) | |
tree | c57bae87f86c43d68a74447bad319433f66cb89a /src/mbn.c | |
parent | c17f9d6b17daa6121ec1ef0284d701cd3d1387b2 (diff) | |
download | idevicerestore-c752e8780b043c8822be2417cc5596b8f2ad9c0b.tar.gz idevicerestore-c752e8780b043c8822be2417cc5596b8f2ad9c0b.tar.bz2 |
Update codebase to use (const) void* and size_t where applicable
Diffstat (limited to 'src/mbn.c')
-rw-r--r-- | src/mbn.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -25,7 +25,7 @@ #include "mbn.h" #include "common.h" -mbn_file* mbn_parse(unsigned char* data, unsigned int size) +mbn_file* mbn_parse(const void* data, size_t size) { mbn_file* mbn = (mbn_file*)malloc(sizeof(mbn_file)); if (!mbn) { @@ -72,7 +72,7 @@ void mbn_free(mbn_file* mbn) } } -int mbn_update_sig_blob(mbn_file* mbn, const unsigned char* sigdata, unsigned int siglen) +int mbn_update_sig_blob(mbn_file* mbn, const void* sigdata, size_t siglen) { if (!mbn) { logger(LL_ERROR, "%s: no data\n", __func__); |