changeset 9077:a2441f2ff85d v7.4.1823

commit https://github.com/vim/vim/commit/d9db8b448c214eb583e84c598bca0688b9202ba7 Author: Bram Moolenaar <Bram@vim.org> Date: Sun May 8 12:52:05 2016 +0200 patch 7.4.1823 Problem: Warning from 64 bit compiler. Solution: Add type cast. (Mike Williams)
author Christian Brabandt <cb@256bit.org>
date Sun, 08 May 2016 13:00:07 +0200
parents 9305a1251e51
children ce97eee5a03f
files src/quickfix.c src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/quickfix.c
+++ b/src/quickfix.c
@@ -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
--- a/src/version.c
+++ b/src/version.c
@@ -754,6 +754,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1823,
+/**/
     1822,
 /**/
     1821,