aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/normal.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/normal.c')
-rw-r--r--src/nvim/normal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/normal.c b/src/nvim/normal.c
index 5ed1a61b54..9637fe85e2 100644
--- a/src/nvim/normal.c
+++ b/src/nvim/normal.c
@@ -3287,7 +3287,7 @@ static bool nv_screengo(oparg_T *oap, int dir, long dist)
validate_virtcol();
colnr_T virtcol = curwin->w_virtcol;
if (virtcol > (colnr_T)width1 && *get_showbreak_value(curwin) != NUL) {
- virtcol -= vim_strsize(get_showbreak_value(curwin));
+ virtcol -= vim_strsize((char *)get_showbreak_value(curwin));
}
int c = utf_ptr2char((char *)get_cursor_pos_ptr());