xserver/hw/xfree86/ddc
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
..
DDC.HOWTO Fix some documentation typos 2008-03-03 16:11:05 -05:00
ddc.c os: unexport Os*() functions 2024-04-16 14:20:30 +02:00
ddcProperty.c xfree86: Create EDID atom from the root window callback (v2) 2016-04-18 11:23:10 -04:00
edid.h Fix spelling/wording issues 2020-07-05 13:07:33 -07:00
interpret_edid.c Move sizeof to second argument in calloc calls 2024-07-19 23:45:21 +00:00
meson.build Add a Meson build system alongside autotools. 2017-04-26 15:25:27 -07:00
print_edid.c print_edid: Fix a format string error 2022-06-26 09:16:42 +00:00
xf86DDC.h xfree86: add drm modes on non-GTF panels 2020-06-23 13:09:20 +08:00