xserver/xfixes
Alan Coopersmith ca52da8cba 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>
(cherry picked from commit 522f469fe9)

Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1635>
2024-08-06 10:00:59 +02:00
..
cursor.c Move sizeof to second argument in calloc calls 2024-08-06 10:00:59 +02:00
disconnect.c dix: unexport global variables 2024-03-09 17:23:43 +00:00
meson.build xfixes: Add ClientDisconnectMode 2021-06-07 17:28:05 +02:00
region.c render: move private definitions out of picturestr.h 2024-03-03 22:54:16 +00:00
saveset.c xfixes: unvalidated lengths (CVE-2017-12183) 2017-10-10 23:33:44 +02:00
select.c dispatch: Mark swapped dispatch as _X_COLD 2017-03-01 10:16:20 -05: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