From 0843a9b43db29543de8480608c02c9e9a69821a9 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Fri, 24 May 2024 20:48:20 +0100 Subject: [PATCH] fetch: Squash -Wcalloc-transposed-args (gcc-14) --- content/fetch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/fetch.c b/content/fetch.c index 1fcc3f996..3ef836e8a 100644 --- a/content/fetch.c +++ b/content/fetch.c @@ -726,7 +726,7 @@ fetch_multipart_data_new_kv(struct fetch_multipart_data **list, assert(list); - newdata = calloc(sizeof(*newdata), 1); + newdata = calloc(1, sizeof(*newdata)); if (newdata == NULL) { return NSERROR_NOMEM;