diff options
Diffstat (limited to 'apps/lib/apps.c')
-rw-r--r-- | apps/lib/apps.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/lib/apps.c b/apps/lib/apps.c index 69a98ecf37..df4edfb837 100644 --- a/apps/lib/apps.c +++ b/apps/lib/apps.c @@ -628,12 +628,12 @@ void app_bail_out(char *fmt, ...) exit(1); } -void* app_malloc(int sz, const char *what) +void *app_malloc(size_t sz, const char *what) { void *vp = OPENSSL_malloc(sz); if (vp == NULL) - app_bail_out("%s: Could not allocate %d bytes for %s\n", + app_bail_out("%s: Could not allocate %zu bytes for %s\n", opt_getprog(), sz, what); return vp; } |