From f5d97098a4c5d1c91887a3f2e0a31c1e20ca32e3 Mon Sep 17 00:00:00 2001 From: Kurt Roeckx Date: Tue, 22 Dec 2015 11:26:39 +0100 Subject: [PATCH] Also change the non-debug versions to use size_t Reviewed-by: Richard Levitte MR: #1518 --- crypto/mem.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crypto/mem.c b/crypto/mem.c index 0c8f4e1869..7ecf0aebeb 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; -- 2.25.1