mirror of
https://github.com/X11Libre/xf86-video-tdfx.git
synced 2026-03-24 01:25:15 +00:00
5253278119a4db07b5a01856f0de34e576f4dcdd
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>
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
Languages
C
96.3%
M4
1.9%
Makefile
1.6%
Shell
0.2%