]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
updated for version 7.3.556 v7.3.556
authorBram Moolenaar <Bram@vim.org>
Thu, 14 Jun 2012 18:59:25 +0000 (20:59 +0200)
committerBram Moolenaar <Bram@vim.org>
Thu, 14 Jun 2012 18:59:25 +0000 (20:59 +0200)
Problem:    Compiler warnings on 64 bit Windows.
Solution:   Add type casts. (Mike Williams)

src/misc1.c
src/version.c

index 8029a1f54cf58417547e3b772478d6edd445325a..1519e97b3166c121cfa1c28b4794f26414172308 100644 (file)
@@ -445,8 +445,7 @@ get_number_indent(lnum)
            if (vim_regexec(&regmatch, ml_get(lnum) + lead_len, (colnr_T)0))
            {
                pos.lnum = lnum;
-               pos.col  = *regmatch.endp - (ml_get(lnum) + lead_len);
-               pos.col += lead_len;
+               pos.col = (colnr_T)(*regmatch.endp - ml_get(lnum));
 #ifdef FEAT_VIRTUALEDIT
                pos.coladd = 0;
 #endif
@@ -1354,7 +1353,8 @@ open_line(dir, flags, second_line_indent)
        if (flags & OPENLINE_COM_LIST && second_line_indent > 0)
        {
            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.
             * Below, set_indent(newindent, SIN_INSERT) will insert the
index d3bb184ffdc2c69abf079f47eb01c42b8045b74d..9dcb811be1853d590f6c3bb728d6fc3e5e8ff276 100644 (file)
@@ -714,6 +714,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    556,
 /**/
     555,
 /**/