Mercurial > vim
changeset 11927:728805b1523e v8.0.0843
patch 8.0.0843: MS-Windows: compiler warning for signed/unsigned
commit https://github.com/vim/vim/commit/66cd19fef1c5e86d798db164cc29f8ec2793411d
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Aug 2 23:13:27 2017 +0200
patch 8.0.0843: MS-Windows: compiler warning for signed/unsigned
Problem: MS-Windows: compiler warning for signed/unsigned.
Solution: Add type cast. (Yasuhiro Matsumoto, closes https://github.com/vim/vim/issues/1912)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Wed, 02 Aug 2017 23:15:04 +0200 |
parents | 9fa7cd71d9c8 |
children | 4c1d0c774d51 |
files | src/terminal.c src/version.c |
diffstat | 2 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/terminal.c +++ b/src/terminal.c @@ -968,7 +968,7 @@ terminal_loop(void) /* We don't know if the job can handle CTRL-C itself or not, this * may kill the shell instead of killing the command running in the * shell. */ - mch_stop_job(curbuf->b_term->tl_job, "quit") + mch_stop_job(curbuf->b_term->tl_job, (char_u *)"quit") #endif if (c == (termkey == 0 ? Ctrl_W : termkey))