changeset 13577:4cb743db55b3 v8.0.1661

patch 8.0.1661: warnings from 64 bit compiler commit https://github.com/vim/vim/commit/878c96d5b9416170dfd28a02cba0db683f91c220 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Apr 4 23:00:06 2018 +0200 patch 8.0.1661: warnings from 64 bit compiler Problem: Warnings from 64 bit compiler. Solution: Add type casts. (Mike Williams)
author Christian Brabandt <cb@256bit.org>
date Wed, 04 Apr 2018 23:15:06 +0200
parents 8e08ded3a3e6
children 0dcc9ad68a6f
files src/terminal.c src/version.c
diffstat 2 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/terminal.c
+++ b/src/terminal.c
@@ -3253,7 +3253,7 @@ handle_call_command(term_T *term, channe
     argvars[0].v_type = VAR_NUMBER;
     argvars[0].vval.v_number = term->tl_buffer->b_fnum;
     argvars[1] = item->li_next->li_tv;
-    if (call_func(func, STRLEN(func), &rettv,
+    if (call_func(func, (int)STRLEN(func), &rettv,
 		2, argvars, /* argv_func */ NULL,
 		/* firstline */ 1, /* lastline */ 1,
 		&doesrange, /* evaluate */ TRUE,
@@ -3283,7 +3283,7 @@ parse_osc(const char *command, size_t cm
     if (cmdlen < 3 || STRNCMP(command, "51;", 3) != 0)
 	return 0; /* not handled */
 
-    reader.js_buf = vim_strnsave((char_u *)command + 3, cmdlen - 3);
+    reader.js_buf = vim_strnsave((char_u *)command + 3, (int)(cmdlen - 3));
     if (reader.js_buf == NULL)
 	return 1;
     reader.js_fill = NULL;
--- a/src/version.c
+++ b/src/version.c
@@ -763,6 +763,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1661,
+/**/
     1660,
 /**/
     1659,