Skip to content

Commit

Permalink
avoid gcc warning in fuzz test
Browse files Browse the repository at this point in the history
  • Loading branch information
djmdjm committed Sep 15, 2024
1 parent ce171d0 commit 0c1165f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion regress/unittests/test_helper/fuzz.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 0c1165f

Please sign in to comment.