aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/tag.c
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-02-23 22:49:57 -0500
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-02-23 23:00:06 -0500
commitab5083b5fc9fc8c62dae6aefc4fb2615a61c6fff (patch)
tree390d832a3ba5097718141f87a19eb1a9e789d927 /src/nvim/tag.c
parentceed85ea431b8fb4f694e4fca09f97e2a22f69d9 (diff)
downloadrneovim-ab5083b5fc9fc8c62dae6aefc4fb2615a61c6fff.tar.gz
rneovim-ab5083b5fc9fc8c62dae6aefc4fb2615a61c6fff.tar.bz2
rneovim-ab5083b5fc9fc8c62dae6aefc4fb2615a61c6fff.zip
pos: define MAXCOL to INT_MAX
Partial port of patch v8.1.0953. Remove useless casts on MAXCOL.
Diffstat (limited to 'src/nvim/tag.c')
-rw-r--r--src/nvim/tag.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/tag.c b/src/nvim/tag.c
index 84ca240734..4ea298fba9 100644
--- a/src/nvim/tag.c
+++ b/src/nvim/tag.c
@@ -3152,7 +3152,7 @@ int get_tags(list_T *list, char_u *pat, char_u *buf_fname)
bool is_static;
ret = find_tags(pat, &num_matches, &matches,
- TAG_REGEXP | TAG_NOIC, (int)MAXCOL, buf_fname);
+ TAG_REGEXP | TAG_NOIC, MAXCOL, buf_fname);
if (ret == OK && num_matches > 0) {
for (i = 0; i < num_matches; ++i) {
int parse_result = parse_match(matches[i], &tp);