commit | ae6f1d8b14c2f63811ee83ef14e32086fb3e9b83 | [log] [tgz] |
---|---|---|
author | kylo252 <59826753+kylo252@users.noreply.github.com> | Wed Feb 16 19:24:07 2022 +0000 |
committer | Bram Moolenaar <Bram@vim.org> | Wed Feb 16 19:24:07 2022 +0000 |
tree | 4982335c2afa3ef8515860dabea038acbc2af406 | |
parent | d288eaad846f0e07e0141226f97d858dcf96cb78 [diff] [blame] |
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)
diff --git a/src/getchar.c b/src/getchar.c index 7a1ef8c..2068ca4 100644 --- a/src/getchar.c +++ b/src/getchar.c
@@ -3594,7 +3594,7 @@ */ if (got_int) { -#define DUM_LEN MAXMAPLEN * 3 + 3 +#define DUM_LEN (MAXMAPLEN * 3 + 3) char_u dum[DUM_LEN + 1]; for (;;)