mirror of
https://github.com/vim/vim
synced 2025-03-29 13:06:45 +01:00
Fix build failure
This commit is contained in:
parent
3eac8dd0dd
commit
101754599c
1 changed files with 2 additions and 2 deletions
|
@ -1259,12 +1259,12 @@ op_yank(oparg_T *oap, int deleting, int mess)
|
|||
|
||||
case MCHAR:
|
||||
{
|
||||
size_t tmp;
|
||||
int tmp;
|
||||
|
||||
charwise_block_prep(oap->start, oap->end, &bd, lnum, oap->inclusive);
|
||||
|
||||
// make sure bd.textlen is not longer than the text
|
||||
tmp = STRLEN(bd.textstart);
|
||||
tmp = (int)STRLEN(bd.textstart);
|
||||
if (tmp < bd.textlen)
|
||||
bd.textlen = tmp;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue