Fix 2 -Wcalloc-transposed-args warnings
Reported by gcc 14.1:
vesa.c: In function ‘VESAGetRec’:
vesa.c:285:46: warning: ‘calloc’ sizes specified with ‘sizeof’ in the
earlier argument and not in the later argument [-Wcalloc-transposed-args]
285 | pScrn->driverPrivate = calloc(sizeof(VESARec), 1);
| ^~~~~~~
vesa.c:285:46: note: earlier argument should specify number of elements,
later size of each element
vesa.c: In function ‘VESASetModeParameters’:
vesa.c:300:33: warning: ‘calloc’ sizes specified with ‘sizeof’ in the
earlier argument and not in the later argument [-Wcalloc-transposed-args]
300 | data->block = calloc(sizeof(VbeCRTCInfoBlock), 1);
| ^~~~~~~~~~~~~~~~
vesa.c:300:33: note: earlier argument should specify number of elements,
later size of each element
Signed-off-by: Alan Coopersmith