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_sec.c | |
parent | 33eaf4c27e32ae163e1d36e7b4d8df28c2acb4f2 (diff) | |
download | openssl-new-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_sec.c')
-rw-r--r-- | crypto/mem_sec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/mem_sec.c b/crypto/mem_sec.c index 0b2f1fda77..4ef8300e94 100644 --- a/crypto/mem_sec.c +++ b/crypto/mem_sec.c @@ -89,7 +89,7 @@ int CRYPTO_secure_malloc_initialized() #endif /* IMPLEMENTED */ } -void *CRYPTO_secure_malloc(int num, const char *file, int line) +void *CRYPTO_secure_malloc(size_t num, const char *file, int line) { #ifdef IMPLEMENTED void *ret; |