1
0
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:
Bram Moolenaar
2012-08-02 21:24:42 +02:00
parent da3cb831e9
commit 09168a77e4
3 changed files with 5 additions and 2 deletions

View File

@@ -3392,7 +3392,7 @@ set_one_cmd_context(xp, buff)
/* Find start of last argument (argument just before cursor): */ /* Find start of last argument (argument just before cursor): */
p = buff; p = buff;
xp->xp_pattern = p; xp->xp_pattern = p;
len = STRLEN(buff); len = (int)STRLEN(buff);
while (*p && p < buff + len) while (*p && p < buff + len)
{ {
if (*p == ' ' || *p == TAB) if (*p == ' ' || *p == TAB)

View File

@@ -4621,7 +4621,8 @@ current_search(count, forward)
{ {
/* searching backwards, so set pos to last line and col */ /* searching backwards, so set pos to last line and col */
pos.lnum = curwin->w_buffer->b_ml.ml_line_count; 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));
} }
} }

View File

@@ -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 */
/**/
621,
/**/ /**/
620, 620,
/**/ /**/