summaryrefslogtreecommitdiffstats
path: root/src/mbn.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbn.c')
-rw-r--r--src/mbn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mbn.c b/src/mbn.c
index b7d3527..409d9eb 100644
--- a/src/mbn.c
+++ b/src/mbn.c
@@ -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__);