wlroots/backend
Sergei Trofimovich d924d55fea backend: fix build against upcoming gcc-14 (-Werror=calloc-transposed-args)
`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

(cherry picked from commit f3e1f7b2a7)
2024-01-24 09:24:20 -05:00
..
drm backend/drm: drop unnecessary flags in legacy interface 2023-11-19 15:32:30 +01:00
headless treewide: Migrate from sizeof(struct) to sizeof(*pointer) where practical 2023-10-03 01:51:07 -04:00
libinput backend: fix build against upcoming gcc-14 (-Werror=calloc-transposed-args) 2024-01-24 09:24:20 -05:00
multi backend: drop wlr_backend_get_presentation_clock() 2023-10-30 18:39:39 +01:00
session backend/session: make optional 2022-11-25 16:15:29 +00:00
wayland backend: drop wlr_backend_get_presentation_clock() 2023-10-30 18:39:39 +01:00
x11 backend/x11: check buffer format in output_test() 2023-11-28 10:36:10 -05:00
backend.c backend: drop wlr_backend_get_presentation_clock() 2023-10-30 18:39:39 +01:00
meson.build backend/session: make optional 2022-11-25 16:15:29 +00:00