]> granicus.if.org Git - vim/commitdiff
patch 7.4.1823 v7.4.1823
authorBram Moolenaar <Bram@vim.org>
Sun, 8 May 2016 10:52:05 +0000 (12:52 +0200)
committerBram Moolenaar <Bram@vim.org>
Sun, 8 May 2016 10:52:05 +0000 (12:52 +0200)
Problem:    Warning from 64 bit compiler.
Solution:   Add type cast. (Mike Williams)

src/quickfix.c
src/version.c

index db4c0fa7fc5bb8829b8f1faa919f434c870b34f9..7b6d1bc9ce3e5cc91285e0adf8e0ce49f0b8bd5e 100644 (file)
@@ -675,7 +675,7 @@ qf_init_ext(
                    if (fgets((char *)growbuf + growbuflen,
                                         growbufsiz - growbuflen, fd) == NULL)
                        break;
-                   linelen = STRLEN(growbuf + growbuflen);
+                   linelen = (int)STRLEN(growbuf + growbuflen);
                    growbuflen += linelen;
                    if (growbuf[growbuflen - 1] == '\n'
 #ifdef USE_CRNL
index 36eba983f79b491b3c1199ef83cdba62b6753017..f494c223b414ca6824ccb8601844968fdeafc07d 100644 (file)
@@ -753,6 +753,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1823,
 /**/
     1822,
 /**/