forked from aniani/vim
updated for version 7.3.621
Problem: Compiler warnings on 64 bit windows. Solution: Add type casts. (Mike Williams)
This commit is contained in:
@@ -3392,7 +3392,7 @@ set_one_cmd_context(xp, buff)
|
||||
/* Find start of last argument (argument just before cursor): */
|
||||
p = buff;
|
||||
xp->xp_pattern = p;
|
||||
len = STRLEN(buff);
|
||||
len = (int)STRLEN(buff);
|
||||
while (*p && p < buff + len)
|
||||
{
|
||||
if (*p == ' ' || *p == TAB)
|
||||
|
@@ -4621,7 +4621,8 @@ current_search(count, forward)
|
||||
{
|
||||
/* searching backwards, so set pos to last line and col */
|
||||
pos.lnum = curwin->w_buffer->b_ml.ml_line_count;
|
||||
pos.col = STRLEN(ml_get(curwin->w_buffer->b_ml.ml_line_count));
|
||||
pos.col = (colnr_T)STRLEN(
|
||||
ml_get(curwin->w_buffer->b_ml.ml_line_count));
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -714,6 +714,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
621,
|
||||
/**/
|
||||
620,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user