comparison src/fileio.c @ 27752:c1d1639b52dd v8.2.4402

patch 8.2.4402: missing parenthesis may cause unexpected problems Commit: https://github.com/vim/vim/commit/ae6f1d8b14c2f63811ee83ef14e32086fb3e9b83 Author: kylo252 <59826753+kylo252@users.noreply.github.com> Date: Wed Feb 16 19:24:07 2022 +0000 patch 8.2.4402: missing parenthesis may cause unexpected problems Problem: Missing parenthesis may cause unexpected problems. Solution: Add more parenthesis is macros. (closes https://github.com/vim/vim/issues/9788)
author Bram Moolenaar <Bram@vim.org>
date Wed, 16 Feb 2022 20:30:03 +0100
parents 6ca2d8f4cd32
children b10e94f21344
comparison
equal deleted inserted replaced
27751:c9330d10419b 27752:c1d1639b52dd
4797 ga_init2(gap, sizeof(void *), 20); 4797 ga_init2(gap, sizeof(void *), 20);
4798 4798
4799 # ifdef FEAT_EVAL 4799 # ifdef FEAT_EVAL
4800 # define FREE_ITEM(item) do { \ 4800 # define FREE_ITEM(item) do { \
4801 if (withattr) \ 4801 if (withattr) \
4802 dict_unref((dict_T*)item); \ 4802 dict_unref((dict_T*)(item)); \
4803 else \ 4803 else \
4804 vim_free(item); \ 4804 vim_free(item); \
4805 } while (0) 4805 } while (0)
4806 4806
4807 readdirex_sort = READDIR_SORT_BYTE; 4807 readdirex_sort = READDIR_SORT_BYTE;