]> granicus.if.org Git - vim/commitdiff
updated for version 7.3.413 v7.3.413
authorBram Moolenaar <Bram@vim.org>
Thu, 26 Jan 2012 12:01:59 +0000 (13:01 +0100)
committerBram Moolenaar <Bram@vim.org>
Thu, 26 Jan 2012 12:01:59 +0000 (13:01 +0100)
Problem:    Build warnings on MS-Windows.
Solution:   Add type casts. (Mike Williams)

src/ex_getln.c
src/message.c
src/term.c
src/version.c

index b63ebb613773195b5b20dfe65f62cac50f049418..70acb0ee650006fdda51637d6e9680439bd2e643 100644 (file)
@@ -5923,7 +5923,7 @@ ex_history(eap)
                                                              hist[i].hisnum);
                    if (vim_strsize(hist[i].hisstr) > (int)Columns - 10)
                        trunc_string(hist[i].hisstr, IObuff + STRLEN(IObuff),
-                                 (int)Columns - 10, IOSIZE - STRLEN(IObuff));
+                            (int)Columns - 10, IOSIZE - (int)STRLEN(IObuff));
                    else
                        STRCAT(IObuff, hist[i].hisstr);
                    msg_outtrans(IObuff);
index 872fadc661e7c134bb5c4480b396d2d43fdd76c9..c9b6a28463c8944fd991d26c555fa8c898cf9e9e 100644 (file)
@@ -325,7 +325,7 @@ trunc_string(s, buf, room, buflen)
     if (e + 3 < buflen)
     {
        mch_memmove(buf + e, "...", (size_t)3);
-       len = STRLEN(s + i) + 1;
+       len = (int)STRLEN(s + i) + 1;
        if (len >= buflen - e - 3)
            len = buflen - e - 3 - 1;
        mch_memmove(buf + e + 3, s + i, len);
index 93d325e43e825859c7545907c7648899ecb032e6..47df299615fdacdd38988b83731a70aa96daee81 100644 (file)
@@ -5252,7 +5252,7 @@ find_term_bykeys(src)
     char_u     *src;
 {
     int                i;
-    int                slen = STRLEN(src);
+    int                slen = (int)STRLEN(src);
 
     for (i = 0; i < tc_len; ++i)
     {
index d51cd71b0c147821a47998a8129e0ed2c170387b..36c3a84802328cffba2849e60193c8a561935431 100644 (file)
@@ -714,6 +714,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    413,
 /**/
     412,
 /**/