From ae6f1d8b14c2f63811ee83ef14e32086fb3e9b83 Mon Sep 17 00:00:00 2001 From: kylo252 <59826753+kylo252@users.noreply.github.com> Date: Wed, 16 Feb 2022 19:24:07 +0000 Subject: patch 8.2.4402: missing parenthesis may cause unexpected problems Problem: Missing parenthesis may cause unexpected problems. Solution: Add more parenthesis is macros. (closes #9788) --- src/fileio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/fileio.c') diff --git a/src/fileio.c b/src/fileio.c index 0812462da6..73fa11b312 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -4799,7 +4799,7 @@ readdir_core( # ifdef FEAT_EVAL # define FREE_ITEM(item) do { \ if (withattr) \ - dict_unref((dict_T*)item); \ + dict_unref((dict_T*)(item)); \ else \ vim_free(item); \ } while (0) -- cgit v1.2.3