avoid gcc warning in fuzz test

This commit is contained in:
Damien Miller 2024-09-15 13:30:13 +10:00
parent ce171d0718
commit 0c1165fc78
No known key found for this signature in database

View File

@ -214,7 +214,7 @@ siginfo(int unused __attribute__((__unused__)))
struct fuzz *
fuzz_begin(u_int strategies, const void *p, size_t l)
{
struct fuzz *ret = calloc(sizeof(*ret), 1);
struct fuzz *ret = calloc(1, sizeof(*ret));
assert(p != NULL);
assert(ret != NULL);