mirror of
https://github.com/vim/vim.git
synced 2025-09-29 04:34:16 -04:00
patch 8.2.3355: MS-Windows: compiler warning for 64-32 bit conversion
Problem: MS-Windows: compiler warning for 64-32 bit conversion. Solution: Add type casts.
This commit is contained in:
@@ -4000,7 +4000,7 @@ ml_flush_line(buf_T *buf)
|
|||||||
dp->db_txt_start -= extra;
|
dp->db_txt_start -= extra;
|
||||||
#if defined(FEAT_BYTEOFF) && defined(FEAT_PROP_POPUP)
|
#if defined(FEAT_BYTEOFF) && defined(FEAT_PROP_POPUP)
|
||||||
if (buf->b_has_textprop)
|
if (buf->b_has_textprop)
|
||||||
old_prop_len = old_len - STRLEN(new_line) - 1;
|
old_prop_len = old_len - (int)STRLEN(new_line) - 1;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// copy new line into the data block
|
// copy new line into the data block
|
||||||
@@ -4012,7 +4012,7 @@ ml_flush_line(buf_T *buf)
|
|||||||
{
|
{
|
||||||
// Do not count the size of any text properties.
|
// Do not count the size of any text properties.
|
||||||
extra += old_prop_len;
|
extra += old_prop_len;
|
||||||
extra -= new_len - STRLEN(new_line) - 1;
|
extra -= new_len - (int)STRLEN(new_line) - 1;
|
||||||
}
|
}
|
||||||
if (extra != 0)
|
if (extra != 0)
|
||||||
ml_updatechunk(buf, lnum, (long)extra, ML_CHNK_UPDLINE);
|
ml_updatechunk(buf, lnum, (long)extra, ML_CHNK_UPDLINE);
|
||||||
|
@@ -755,6 +755,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
3355,
|
||||||
/**/
|
/**/
|
||||||
3354,
|
3354,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user