changeset 15810:5523665fdf80 v8.1.0912

patch 8.1.0912: MS-Windows: warning for signed/unsigned commit https://github.com/vim/vim/commit/18442cbcc0d335a8ea6947e94eee9a2ab9552690 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Feb 13 21:22:12 2019 +0100 patch 8.1.0912: MS-Windows: warning for signed/unsigned Problem: MS-Windows: warning for signed/unsigned. Solution: Add type cast. (Nobuhiro Takasaki, closes https://github.com/vim/vim/issues/3945)
author Bram Moolenaar <Bram@vim.org>
date Wed, 13 Feb 2019 21:30:07 +0100
parents dd5e97262ca3
children efcccd2b7f46
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
@@ -5722,7 +5722,7 @@ conpty_term_and_job_init(
     job->jv_proc_info = proc_info;
     job->jv_job_object = jo;
     job->jv_status = JOB_STARTED;
-    job->jv_tty_type = vim_strsave("conpty");
+    job->jv_tty_type = vim_strsave((char_u *)"conpty");
     ++job->jv_refcount;
     term->tl_job = job;
 
@@ -6056,7 +6056,7 @@ winpty_term_and_job_init(
 	    (short_u *)winpty_conin_name(term->tl_winpty), NULL);
     job->jv_tty_out = utf16_to_enc(
 	    (short_u *)winpty_conout_name(term->tl_winpty), NULL);
-    job->jv_tty_type = vim_strsave("winpty");
+    job->jv_tty_type = vim_strsave((char_u *)"winpty");
     ++job->jv_refcount;
     term->tl_job = job;
 
--- a/src/version.c
+++ b/src/version.c
@@ -784,6 +784,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    912,
+/**/
     911,
 /**/
     910,