# HG changeset patch # User Bram Moolenaar # Date 1550089807 -3600 # Node ID 5523665fdf803ab8ca20f756603c9a0aa34b4012 # Parent dd5e97262ca3ac9184d42f55c6f87f1a6bc03f67 patch 8.1.0912: MS-Windows: warning for signed/unsigned commit https://github.com/vim/vim/commit/18442cbcc0d335a8ea6947e94eee9a2ab9552690 Author: Bram Moolenaar 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) diff --git a/src/terminal.c b/src/terminal.c --- 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; diff --git a/src/version.c b/src/version.c --- 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,