1
0
Fork 0
mirror of https://github.com/vim/vim synced 2025-03-29 13:06:45 +01:00

Fix build failure

This commit is contained in:
basilisk0315 2024-10-29 10:16:26 +11:00
parent 3eac8dd0dd
commit 101754599c

View file

@ -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;