diff options
author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2019-10-04 08:09:27 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-10-06 09:07:44 +0900 |
commit | 41616ef6182271178c63e1caf0d21f12bea2d41e (patch) | |
tree | 4c447dec7d9be2dd84ed01d149bd3c5e61284c3c /compat/win32 | |
parent | msvc: avoid using minus operator on unsigned types (diff) | |
download | tgif-41616ef6182271178c63e1caf0d21f12bea2d41e.tar.xz |
winansi: use FLEX_ARRAY to avoid compiler warning
MSVC would complain thusly:
C4200: nonstandard extension used: zero-sized array in struct/union
Let's just use the `FLEX_ARRAY` constant that we introduced for exactly
this type of scenario.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'compat/win32')
0 files changed, 0 insertions, 0 deletions