Also change the non-debug versions to use size_t
[openssl.git] / crypto / mem.c
index 0c8f4e18693a500022826f5cfee7281b398b9ae3..7ecf0aebeb8b41fb8ac03b55f22035a5155c9fd2 100644 (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;