mirror of
https://git.busybox.net/buildroot.git
synced 2024-11-27 15:33:28 +08:00
a5466a4303
Fix the following build failure with gcc >= 14: libcli.c: In function 'cli_register_command': libcli.c:430:27: error: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Werror=calloc-transposed-args] 430 | if (!(c = calloc(sizeof(struct cli_command), 1))) return NULL; | ^~~~~~ libcli.c:430:27: note: earlier argument should specify number of elements, later size of each element Fixes: - http://autobuild.buildroot.org/results/a170d27689e069cf58f830bdd74f604364ee503b Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> |
||
---|---|---|
.. | ||
0001-Swap-calloc-parameters-for-Wcalloc-transposed-args.patch | ||
Config.in | ||
libcli.hash | ||
libcli.mk |