diff options
author | kylo252 <59826753+kylo252@users.noreply.github.com> | 2022-02-16 19:24:07 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-02-16 19:24:07 +0000 |
commit | ae6f1d8b14c2f63811ee83ef14e32086fb3e9b83 (patch) | |
tree | 4982335c2afa3ef8515860dabea038acbc2af406 /src/autocmd.c | |
parent | d288eaad846f0e07e0141226f97d858dcf96cb78 (diff) |
patch 8.2.4402: missing parenthesis may cause unexpected problemsv8.2.4402
Problem: Missing parenthesis may cause unexpected problems.
Solution: Add more parenthesis is macros. (closes #9788)
Diffstat (limited to 'src/autocmd.c')
-rw-r--r-- | src/autocmd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/autocmd.c b/src/autocmd.c index d1ecad944e..341cf83729 100644 --- a/src/autocmd.c +++ b/src/autocmd.c @@ -217,9 +217,9 @@ static AutoPat *last_autopat[NUM_EVENTS] = NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL }; -#define AUGROUP_DEFAULT -1 // default autocmd group -#define AUGROUP_ERROR -2 // erroneous autocmd group -#define AUGROUP_ALL -3 // all autocmd groups +#define AUGROUP_DEFAULT (-1) // default autocmd group +#define AUGROUP_ERROR (-2) // erroneous autocmd group +#define AUGROUP_ALL (-3) // all autocmd groups /* * struct used to keep status while executing autocommands for an event. |