mirror of
https://github.com/X11Libre/xf86-video-intel.git
synced 2026-03-24 01:24:12 +00:00
gcc-14 complains: ../src/legacy/i810/i810_dri.c:281:48: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args] ... Fix them all up via cocci: @@ expression E1, E2; type T; @@ ( - calloc(sizeof(T), E2) + calloc(E2, sizeof(T)) | - calloc(sizeof(E1), E2) + calloc(E2, sizeof(E1)) ) Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
15 KiB
15 KiB