]> granicus.if.org Git - vim/commitdiff
updated for version 7.3.621 v7.3.621
authorBram Moolenaar <Bram@vim.org>
Thu, 2 Aug 2012 19:24:42 +0000 (21:24 +0200)
committerBram Moolenaar <Bram@vim.org>
Thu, 2 Aug 2012 19:24:42 +0000 (21:24 +0200)
Problem:    Compiler warnings on 64 bit windows.
Solution:   Add type casts. (Mike Williams)

src/ex_docmd.c
src/search.c
src/version.c

index 2d4117d4449ec072a4bf3dd7b70f4ebe8233adae..c7e6316f00c6ce170d4082f0cfbf52a81af321f5 100644 (file)
@@ -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)
index 5ee0e48a964bca25627d6ca6391b2e7d6dc7b51f..aa858f9eef6d95082df0cf7869a6ccea0517cea7 100644 (file)
@@ -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));
            }
        }
 
index 0be8c2b75df2f91ff8ffc0aff27392ac409dafb1..b8a396dec10b2b1a5fc517d48fbadbd67fb7fb50 100644 (file)
@@ -714,6 +714,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    621,
 /**/
     620,
 /**/