summaryrefslogtreecommitdiff
path: root/src/fileio.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fileio.c')
-rw-r--r--src/fileio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fileio.c b/src/fileio.c
index 0812462da..73fa11b31 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)