summaryrefslogtreecommitdiffstats
path: root/src/mbn.h
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2025-07-01 00:45:50 +0200
committerGravatar Nikias Bassen2025-07-01 00:45:50 +0200
commitc752e8780b043c8822be2417cc5596b8f2ad9c0b (patch)
treec57bae87f86c43d68a74447bad319433f66cb89a /src/mbn.h
parentc17f9d6b17daa6121ec1ef0284d701cd3d1387b2 (diff)
downloadidevicerestore-c752e8780b043c8822be2417cc5596b8f2ad9c0b.tar.gz
idevicerestore-c752e8780b043c8822be2417cc5596b8f2ad9c0b.tar.bz2
Update codebase to use (const) void* and size_t where applicable
Diffstat (limited to 'src/mbn.h')
-rw-r--r--src/mbn.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mbn.h b/src/mbn.h
index 008ba61..a328128 100644
--- a/src/mbn.h
+++ b/src/mbn.h
@@ -100,8 +100,8 @@ typedef struct {
uint32_t size;
} mbn_file;
-mbn_file* mbn_parse(unsigned char* data, unsigned int size);
+mbn_file* mbn_parse(const void* data, size_t size);
void mbn_free(mbn_file* mbn);
-int mbn_update_sig_blob(mbn_file* mbn, const unsigned char* data, unsigned int size);
+int mbn_update_sig_blob(mbn_file* mbn, const void* data, size_t size);
#endif