From fcf3519c65a2d6736de437f686e788684a6c8564 Mon Sep 17 00:00:00 2001 From: dundargoc Date: Mon, 17 Apr 2023 22:18:58 +0200 Subject: 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. --- src/nvim/undo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nvim/undo.c') diff --git a/src/nvim/undo.c b/src/nvim/undo.c index 1eb73d85d7..8f74129c79 100644 --- a/src/nvim/undo.c +++ b/src/nvim/undo.c @@ -2478,7 +2478,7 @@ static void u_undoredo(int undo, bool do_buf_event) if (curhead->uh_cursor.lnum == curwin->w_cursor.lnum) { curwin->w_cursor.col = curhead->uh_cursor.col; if (virtual_active() && curhead->uh_cursor_vcol >= 0) { - coladvance((colnr_T)curhead->uh_cursor_vcol); + coladvance(curhead->uh_cursor_vcol); } else { curwin->w_cursor.coladd = 0; } -- cgit