diff options
author | Richard Levitte <levitte@openssl.org> | 2015-12-17 08:24:26 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2015-12-17 08:24:26 +0100 |
commit | ff8428561a4fa89423862f532436a9b109369d53 (patch) | |
tree | 534e106f063c05fb2802a401a2db243f78571dc3 /crypto/mem_dbg.c | |
parent | 33eaf4c27e32ae163e1d36e7b4d8df28c2acb4f2 (diff) | |
download | openssl-ff8428561a4fa89423862f532436a9b109369d53.tar.gz |
Modify the lower level memory allocation routines to take size_t
We've been using int for the size for a long time, it's about time...
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'crypto/mem_dbg.c')
-rw-r--r-- | crypto/mem_dbg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/mem_dbg.c b/crypto/mem_dbg.c index 292bf2aef7..06d3f6734d 100644 --- a/crypto/mem_dbg.c +++ b/crypto/mem_dbg.c @@ -451,7 +451,7 @@ int CRYPTO_remove_all_info(void) } static unsigned long break_order_num = 0; -void CRYPTO_dbg_malloc(void *addr, int num, const char *file, int line, +void CRYPTO_dbg_malloc(void *addr, size_t num, const char *file, int line, int before_p) { MEM *m, *mm; @@ -555,7 +555,7 @@ void CRYPTO_dbg_free(void *addr, int before_p) } } -void CRYPTO_dbg_realloc(void *addr1, void *addr2, int num, +void CRYPTO_dbg_realloc(void *addr1, void *addr2, size_t num, const char *file, int line, int before_p) { MEM m, *mp; |