windows.globalization: Use a flexible array member for hstring_vector.
GCC 11 complains about accessing struct hstring_vector (-Warray-bounds)
when the allocation is made for a 0-sized vector. Using a C99 flexible
array member gets rid of the warnings.
Signed-off-by:
Eric Pouech <eric.pouech@gmail.com>
Signed-off-by:
Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by:
Alexandre Julliard <julliard@winehq.org>
Showing
Please
register
or
sign in
to comment