mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-12-29 12:59:49 +01:00
f3e1f7b2a7
`gcc-14` added a new `-Wcalloc-transposed-args` warning recently. It detected minor infelicity in `calloc()` API usage in `wlroots`: ../backend/libinput/tablet_pad.c: In function 'add_pad_group_from_libinput': ../backend/libinput/tablet_pad.c:36:38: error: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Werror=calloc-transposed-args] 36 | group->rings = calloc(sizeof(unsigned int), group->ring_count); | ^~~~~~~~ ../backend/libinput/tablet_pad.c:36:38: note: earlier argument should specify number of elements, later size of each element |
||
---|---|---|
.. | ||
backend.c | ||
events.c | ||
keyboard.c | ||
meson.build | ||
pointer.c | ||
switch.c | ||
tablet_pad.c | ||
tablet_tool.c | ||
touch.c |