diff options
author | Armin Fuerst <armin@fuerst.priv.at> | 2021-03-06 12:19:18 +0100 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2021-04-09 16:20:47 +0200 |
commit | b1c908f421b3466aecf980603132bcab89d1ce99 (patch) | |
tree | 8135f20bcef0a308178bc4e69003ec4e699a2835 /test/testutil | |
parent | crl2pkcs7 shouldn't include empty optional sets (diff) | |
download | openssl-b1c908f421b3466aecf980603132bcab89d1ce99.tar.xz openssl-b1c908f421b3466aecf980603132bcab89d1ce99.zip |
apps: fix warning about size_t / int conversion
Windows builds show the following warning:
(..\apps\ca.c(2643): warning C4267: 'function': conversion
from 'size_t' to 'int', possible loss of data)
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14453)
Diffstat (limited to 'test/testutil')
-rw-r--r-- | test/testutil/apps_mem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/testutil/apps_mem.c b/test/testutil/apps_mem.c index fa60bc6848..5c74a30385 100644 --- a/test/testutil/apps_mem.c +++ b/test/testutil/apps_mem.c @@ -11,7 +11,7 @@ /* shim that avoids sucking in too much from apps/apps.c */ -void* app_malloc(int sz, const char *what) +void *app_malloc(size_t sz, const char *what) { void *vp = OPENSSL_malloc(sz); |