Alan Coopersmith 5253278119 Move sizeof to second argument in calloc calls
Clears -Wcalloc-transposed-args warnings from gcc 14.1, such as:

tdfx_dri.c: In function ‘TDFXDRIScreenInit’:
tdfx_dri.c:173:46: warning: ‘calloc’ sizes specified with ‘sizeof’ in the
 earlier argument and not in the later argument [-Wcalloc-transposed-args]
  173 |   if (!(pTDFXDRI = (TDFXDRIPtr)calloc(sizeof(TDFXDRIRec),1))) {
      |                                              ^~~~~~~~~~
tdfx_dri.c:173:46: 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/driver/xf86-video-tdfx/-/merge_requests/10>
2024-07-14 14:05:34 -07:00
2010-10-06 20:50:27 -07:00
2017-01-26 14:00:22 +10:00
2024-05-19 13:23:11 -07:00
2018-11-18 16:34:01 -08:00
2022-01-29 11:55:05 -08:00

xf86-video-tdfx - 3Dfx video driver for the Xorg X server

All questions regarding this software should be directed at the Xorg mailing list:

https://lists.x.org/mailman/listinfo/xorg

The primary development code repository can be found at:

https://gitlab.freedesktop.org/xorg/driver/xf86-video-tdfx

Please submit bug reports and requests to merge patches there.

For patch submission instructions, see:

https://www.x.org/wiki/Development/Documentation/SubmittingPatches

Description
No description provided
Readme 617 KiB
Languages
C 96.3%
M4 1.9%
Makefile 1.6%
Shell 0.2%