From: elasota <1137273+elasota(a)users.noreply.github.com> --- dlls/cabinet/liblzx_lzx_compress.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/dlls/cabinet/liblzx_lzx_compress.c b/dlls/cabinet/liblzx_lzx_compress.c index 85a13b032d3..0428f218dbf 100644 --- a/dlls/cabinet/liblzx_lzx_compress.c +++ b/dlls/cabinet/liblzx_lzx_compress.c @@ -922,11 +922,7 @@ lzx_write_compressed_code(struct lzx_output_bitstream *os, uint32_t precode_freqs[LZX_PRECODE_NUM_SYMBOLS]; uint8_t precode_lens[LZX_PRECODE_NUM_SYMBOLS]; uint32_t precode_codewords[LZX_PRECODE_NUM_SYMBOLS]; -#if LIBLZX_IS_MSVC_COMPILER - unsigned *precode_items = (unsigned *)_alloca(sizeof(unsigned) * num_lens); -#else - unsigned precode_items[num_lens]; -#endif + unsigned *precode_items = (unsigned *)alloca(sizeof(unsigned) * num_lens); unsigned num_precode_items; unsigned precode_item; unsigned precode_sym; -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/9061