xserver/hw
Alan Coopersmith 522f469fe9 Move sizeof to second argument in calloc calls
Clears -Wcalloc-transposed-args warnings from gcc 14.1, such as:

../dix/main.c:165:42: warning: ‘calloc’ sizes specified with ‘sizeof’ in the
 earlier argument and not in the later argument [-Wcalloc-transposed-args]
  165 |             serverClient = calloc(sizeof(ClientRec), 1);
      |                                          ^~~~~~~~~
../dix/main.c:165:42: note: earlier argument should specify number of
 elements, later size of each element

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1606>
2024-07-19 23:45:21 +00:00
..
kdrive Move sizeof to second argument in calloc calls 2024-07-19 23:45:21 +00:00
vfb dix: unexport fields from opaque.h not used by modules/drivers 2024-06-23 21:19:27 +00:00
xfree86 Move sizeof to second argument in calloc calls 2024-07-19 23:45:21 +00:00
xnest os: unexport ddx callbacks 2024-05-08 09:37:35 +02:00
xquartz Move sizeof to second argument in calloc calls 2024-07-19 23:45:21 +00:00
xwayland Move sizeof to second argument in calloc calls 2024-07-19 23:45:21 +00:00
xwin Move sizeof to second argument in calloc calls 2024-07-19 23:45:21 +00:00
meson.build Drop DMX DDX 2021-09-07 09:34:31 +00:00