aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/plines.c
diff options
context:
space:
mode:
authordundargoc <gocdundar@gmail.com>2023-09-26 22:36:08 +0200
committerdundargoc <33953936+dundargoc@users.noreply.github.com>2023-09-29 14:56:34 +0200
commitaf7d317f3ff31d5ac5d8724b5057a422e1451b54 (patch)
treec05c26591b00105d03684cb3179da935d104a964 /src/nvim/plines.c
parent9afbfb4d646cd240e97dbaae109f12bfc853112c (diff)
downloadrneovim-af7d317f3ff31d5ac5d8724b5057a422e1451b54.tar.gz
rneovim-af7d317f3ff31d5ac5d8724b5057a422e1451b54.tar.bz2
rneovim-af7d317f3ff31d5ac5d8724b5057a422e1451b54.zip
refactor: remove long
long is 32-bits even on 64-bit windows which makes the type suboptimal for a codebase meant to be cross-platform.
Diffstat (limited to 'src/nvim/plines.c')
-rw-r--r--src/nvim/plines.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/plines.c b/src/nvim/plines.c
index 99f666ef3f..8cadb5a81a 100644
--- a/src/nvim/plines.c
+++ b/src/nvim/plines.c
@@ -476,7 +476,7 @@ void getvcol(win_T *wp, pos_T *pos, colnr_T *start, colnr_T *cursor, colnr_T *en
char *posptr; // points to char at pos->col
int incr;
int head;
- long *vts = wp->w_buffer->b_p_vts_array;
+ colnr_T *vts = wp->w_buffer->b_p_vts_array;
int ts = (int)wp->w_buffer->b_p_ts;
colnr_T vcol = 0;