mirror of
https://github.com/vim/vim.git
synced 2025-09-26 04:04:07 -04:00
updated for version 7.3.556
Problem: Compiler warnings on 64 bit Windows. Solution: Add type casts. (Mike Williams)
This commit is contained in:
@@ -445,8 +445,7 @@ get_number_indent(lnum)
|
|||||||
if (vim_regexec(®match, ml_get(lnum) + lead_len, (colnr_T)0))
|
if (vim_regexec(®match, ml_get(lnum) + lead_len, (colnr_T)0))
|
||||||
{
|
{
|
||||||
pos.lnum = lnum;
|
pos.lnum = lnum;
|
||||||
pos.col = *regmatch.endp - (ml_get(lnum) + lead_len);
|
pos.col = (colnr_T)(*regmatch.endp - ml_get(lnum));
|
||||||
pos.col += lead_len;
|
|
||||||
#ifdef FEAT_VIRTUALEDIT
|
#ifdef FEAT_VIRTUALEDIT
|
||||||
pos.coladd = 0;
|
pos.coladd = 0;
|
||||||
#endif
|
#endif
|
||||||
@@ -1354,7 +1353,8 @@ open_line(dir, flags, second_line_indent)
|
|||||||
if (flags & OPENLINE_COM_LIST && second_line_indent > 0)
|
if (flags & OPENLINE_COM_LIST && second_line_indent > 0)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
int padding = second_line_indent - (newindent + STRLEN(leader));
|
int padding = second_line_indent
|
||||||
|
- (newindent + (int)STRLEN(leader));
|
||||||
|
|
||||||
/* Here whitespace is inserted after the comment char.
|
/* Here whitespace is inserted after the comment char.
|
||||||
* Below, set_indent(newindent, SIN_INSERT) will insert the
|
* Below, set_indent(newindent, SIN_INSERT) will insert the
|
||||||
|
@@ -714,6 +714,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 */
|
||||||
|
/**/
|
||||||
|
556,
|
||||||
/**/
|
/**/
|
||||||
555,
|
555,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user