From 18442cbcc0d335a8ea6947e94eee9a2ab9552690 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Wed, 13 Feb 2019 21:22:12 +0100 Subject: patch 8.1.0912: MS-Windows: warning for signed/unsigned Problem: MS-Windows: warning for signed/unsigned. Solution: Add type cast. (Nobuhiro Takasaki, closes #3945) --- src/terminal.c | 4 ++-- src/version.c | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/terminal.c b/src/terminal.c index 3be2698586..a823499ed9 100644 --- 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 index 88960bafd2..343270cc04 100644 --- a/src/version.c +++ b/src/version.c @@ -783,6 +783,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 912, /**/ 911, /**/ -- cgit v1.2.3