xserver/hw/xquartz/GL
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
..
capabilities.c Fix spelling/wording issues 2020-07-05 13:07:33 -07:00
capabilities.h XQuartz: Source formatting cleanup 2012-03-24 01:07:06 -07:00
glcontextmodes.c Fix spelling/wording issues 2020-07-05 13:07:33 -07:00
glcontextmodes.h glx: Drop references to <GL/internal/glcore.h> 2017-11-14 16:18:47 -05:00
indirect.c xquartz: Remove unused include of AvailabilityMacros.h from various sources 2021-02-01 16:21:39 -08:00
meson.build meson: Convert xquartz from autotools 2019-05-02 15:42:58 +00:00
visualConfigs.c Move sizeof to second argument in calloc calls 2024-07-19 23:45:21 +00:00
visualConfigs.h XQuartz: Source formatting cleanup 2012-03-24 01:07:06 -07:00