mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-28 14:24:43 +08:00
17df6ddcf1
The prototype of calloc is void *calloc(size_t nmemb, size_t size); denoting "an array of nmemb objects, each of whose size is size." (C23) In order to follow the meaning of the argument names and to silence a -Walloc-size warning, this commit swaps the order of the two args to read now: calloc (1, sizeof (transfer_queue)); libgfortran/ChangeLog: PR libfortran/112364 * io/async.c (enqueue_transfer, enqueue_done_id, enqueue_done, enqueue_close): Swap 1st and 2nd arg in calloc call. |
||
---|---|---|
.. | ||
async.c | ||
async.h | ||
close.c | ||
fbuf.c | ||
fbuf.h | ||
file_pos.c | ||
format.c | ||
format.h | ||
inquire.c | ||
intrinsics.c | ||
io.h | ||
list_read.c | ||
lock.c | ||
open.c | ||
read.c | ||
size_from_kind.c | ||
transfer128.c | ||
transfer.c | ||
unit.c | ||
unix.c | ||
unix.h | ||
write_float.def | ||
write.c |