Mercurial > vim
comparison src/terminal.c @ 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 | 864ec0dd71b9 |
children | 1f2edc01e7ed |
comparison
equal
deleted
inserted
replaced
15809:dd5e97262ca3 | 15810:5523665fdf80 |
---|---|
5720 | 5720 |
5721 job->jv_channel = channel; | 5721 job->jv_channel = channel; |
5722 job->jv_proc_info = proc_info; | 5722 job->jv_proc_info = proc_info; |
5723 job->jv_job_object = jo; | 5723 job->jv_job_object = jo; |
5724 job->jv_status = JOB_STARTED; | 5724 job->jv_status = JOB_STARTED; |
5725 job->jv_tty_type = vim_strsave("conpty"); | 5725 job->jv_tty_type = vim_strsave((char_u *)"conpty"); |
5726 ++job->jv_refcount; | 5726 ++job->jv_refcount; |
5727 term->tl_job = job; | 5727 term->tl_job = job; |
5728 | 5728 |
5729 /* Redirecting stdout and stderr doesn't work at the job level. Instead | 5729 /* Redirecting stdout and stderr doesn't work at the job level. Instead |
5730 * open the file here and handle it in. opt->jo_io was changed in | 5730 * open the file here and handle it in. opt->jo_io was changed in |
6054 job->jv_status = JOB_STARTED; | 6054 job->jv_status = JOB_STARTED; |
6055 job->jv_tty_in = utf16_to_enc( | 6055 job->jv_tty_in = utf16_to_enc( |
6056 (short_u *)winpty_conin_name(term->tl_winpty), NULL); | 6056 (short_u *)winpty_conin_name(term->tl_winpty), NULL); |
6057 job->jv_tty_out = utf16_to_enc( | 6057 job->jv_tty_out = utf16_to_enc( |
6058 (short_u *)winpty_conout_name(term->tl_winpty), NULL); | 6058 (short_u *)winpty_conout_name(term->tl_winpty), NULL); |
6059 job->jv_tty_type = vim_strsave("winpty"); | 6059 job->jv_tty_type = vim_strsave((char_u *)"winpty"); |
6060 ++job->jv_refcount; | 6060 ++job->jv_refcount; |
6061 term->tl_job = job; | 6061 term->tl_job = job; |
6062 | 6062 |
6063 /* Redirecting stdout and stderr doesn't work at the job level. Instead | 6063 /* Redirecting stdout and stderr doesn't work at the job level. Instead |
6064 * open the file here and handle it in. opt->jo_io was changed in | 6064 * open the file here and handle it in. opt->jo_io was changed in |