Also change the non-debug versions to use size_t

Reviewed-by: Richard Levitte <levitte@openssl.org>
MR: #1518
This commit is contained in:
Kurt Roeckx 2015-12-22 11:26:39 +01:00
parent 679d87515d
commit f5d97098a4

View File

@ -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;