From: Kurt Roeckx Date: Tue, 22 Dec 2015 10:26:39 +0000 (+0100) Subject: Also change the non-debug versions to use size_t X-Git-Tag: OpenSSL_1_1_0-pre2~186 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f5d97098a4c5d1c91887a3f2e0a31c1e20ca32e3;p=oweals%2Fopenssl.git Also change the non-debug versions to use size_t Reviewed-by: Richard Levitte MR: #1518 --- 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;