xserver/xfixes
Alan Coopersmith 1a4c3b3dac 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>
(cherry picked from commit 522f469fe9)
2026-01-25 10:39:55 -08:00
..
cursor.c Move sizeof to second argument in calloc calls 2026-01-25 10:39:55 -08:00
disconnect.c Remove "All rights reserved" from Oracle copyright notices 2023-02-25 09:40:41 -08:00
meson.build xfixes: Add ClientDisconnectMode 2021-06-07 17:28:05 +02:00
region.c rename remaining RT_* defines to X11_RESTYPE_* 2026-01-19 12:48:30 -08:00
saveset.c xfixes: unvalidated lengths (CVE-2017-12183) 2017-10-10 23:33:44 +02:00
select.c xfixes/xace: fix pointer type mismatch on XFixesSelectSelectionInput() 2026-01-25 10:39:54 -08:00
xfixes.c Remove "All rights reserved" from Oracle copyright notices 2023-02-25 09:40:41 -08:00
xfixes.h xfixes: Unexport xfixes.h 2015-07-08 16:40:58 -04:00
xfixesint.h Remove "All rights reserved" from Oracle copyright notices 2023-02-25 09:40:41 -08:00