mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-21 22:11:22 +03:00
fetch: Squash -Wcalloc-transposed-args (gcc-14)
This commit is contained in:
parent
a87ff23666
commit
0843a9b43d
@ -726,7 +726,7 @@ fetch_multipart_data_new_kv(struct fetch_multipart_data **list,
|
|||||||
|
|
||||||
assert(list);
|
assert(list);
|
||||||
|
|
||||||
newdata = calloc(sizeof(*newdata), 1);
|
newdata = calloc(1, sizeof(*newdata));
|
||||||
|
|
||||||
if (newdata == NULL) {
|
if (newdata == NULL) {
|
||||||
return NSERROR_NOMEM;
|
return NSERROR_NOMEM;
|
||||||
|
Loading…
Reference in New Issue
Block a user