Fix -Werror=array-bounds build failures with gcc 14.2 when MALLOC_0_RETURNS_NULL is defined
- _
XlcDefaultMapModifiers
: remove conversions betweensize_t
&int
-
_XimEncodingNegotiation
: swap order of arguments tocalloc
-
_XimStrConversionCallback
: usesize_t
to calculate size tomalloc
The errors seem wrong to me, but since gcc 14.2 is already out in the wild, we need to work with it.