diff --git a/crypto/mem.c b/crypto/mem.c index 0c8f4e186..7ecf0aebe 100644 --- a/crypto/mem.c +++ b/crypto/mem.c @@ -120,8 +120,8 @@ static long (*get_debug_options_func) (void) = CRYPTO_dbg_get_options; * applications can use CRYPTO_malloc_debug_init() to select above case at * run-time */ -static void (*malloc_debug_func) (void *, int, const char *, int, int) = NULL; -static void (*realloc_debug_func) (void *, void *, int, const char *, int, +static void (*malloc_debug_func) (void *, size_t, const char *, int, int) = NULL; +static void (*realloc_debug_func) (void *, void *, size_t, const char *, int, int) = NULL; static void (*free_debug_func) (void *, int) = NULL;