mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-patch:8.1.2319: compiler warning for int size
Problem: Compiler warning for int size.
Solution: Add typecast. (Mike Williams)
07a63d8633
This commit is contained in:
parent
95bf86c2bf
commit
037ec8f208
@ -410,7 +410,7 @@ bool mouse_comp_pos(win_T *win, int *rowp, int *colp, linenr_T *lnump)
|
||||
col += win->w_skipcol;
|
||||
// limit to text length plus one
|
||||
p = ml_get_buf(win->w_buffer, lnum, false);
|
||||
count = STRLEN(p);
|
||||
count = (int)STRLEN(p);
|
||||
if (col > count) {
|
||||
col = count;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user