aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/syntax.c
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-11-30 21:21:36 -0500
committerGitHub <noreply@github.com>2021-11-30 21:21:36 -0500
commit8ae7dabc10804bb1cceb2df06085b06d20c79bed (patch)
tree1bc3f78a54311eda664cd37405eec2dbe151f8c7 /src/nvim/syntax.c
parent7229afcd60b6a3ad2f0b58ca270f11936f4a7d1b (diff)
parentee99f34438ad9a1df62b179d7e3d9ad1439b510d (diff)
downloadrneovim-8ae7dabc10804bb1cceb2df06085b06d20c79bed.tar.gz
rneovim-8ae7dabc10804bb1cceb2df06085b06d20c79bed.tar.bz2
rneovim-8ae7dabc10804bb1cceb2df06085b06d20c79bed.zip
Merge pull request #16381 from VVKot/vim-8.1.0228
vim-patch:8.1.0228, 8.1.1384, 8.1.1386, 8.1.1393, 8.2.3040
Diffstat (limited to 'src/nvim/syntax.c')
-rw-r--r--src/nvim/syntax.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/syntax.c b/src/nvim/syntax.c
index dd3f1b4dc9..49f8bbab37 100644
--- a/src/nvim/syntax.c
+++ b/src/nvim/syntax.c
@@ -5401,7 +5401,7 @@ static int get_id_list(char_u **const arg, const int keylen, int16_t **const lis
do {
for (end = p; *end && !ascii_iswhite(*end) && *end != ','; end++) {
}
- char_u *const name = xmalloc((int)(end - p + 3)); // leave room for "^$"
+ char_u *const name = xmalloc(end - p + 3); // leave room for "^$"
STRLCPY(name + 1, p, end - p + 1);
if (STRCMP(name + 1, "ALLBUT") == 0
|| STRCMP(name + 1, "ALL") == 0