mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
updated for version 7.4.058
Problem: Warnings on 64 bit Windows. Solution: Add type casts. (Mike Williams)
This commit is contained in:
@@ -5009,14 +5009,14 @@ format_lines(line_count, avoid_fex)
|
|||||||
if (second_indent > 0) /* the "leader" for FO_Q_SECOND */
|
if (second_indent > 0) /* the "leader" for FO_Q_SECOND */
|
||||||
{
|
{
|
||||||
char_u *p = ml_get_curline();
|
char_u *p = ml_get_curline();
|
||||||
int indent = skipwhite(p) - p;
|
int indent = (int)(skipwhite(p) - p);
|
||||||
|
|
||||||
if (indent > 0)
|
if (indent > 0)
|
||||||
{
|
{
|
||||||
(void)del_bytes(indent, FALSE, FALSE);
|
(void)del_bytes(indent, FALSE, FALSE);
|
||||||
mark_col_adjust(curwin->w_cursor.lnum,
|
mark_col_adjust(curwin->w_cursor.lnum,
|
||||||
(colnr_T)0, 0L, (long)-indent);
|
(colnr_T)0, 0L, (long)-indent);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
curwin->w_cursor.lnum--;
|
curwin->w_cursor.lnum--;
|
||||||
if (do_join(2, TRUE, FALSE, FALSE) == FAIL)
|
if (do_join(2, TRUE, FALSE, FALSE) == FAIL)
|
||||||
|
@@ -738,6 +738,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 */
|
||||||
|
/**/
|
||||||
|
58,
|
||||||
/**/
|
/**/
|
||||||
57,
|
57,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user