Permalink
Browse files

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 #1912)
  • Loading branch information...
brammool committed Aug 2, 2017
1 parent 223896d commit 66cd19fef1c5e86d798db164cc29f8ec2793411d
Showing with 3 additions and 1 deletion.
  1. +1 −1 src/terminal.c
  2. +2 −0 src/version.c
View
@@ -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")

This comment has been minimized.

Show comment
Hide comment
@ichizok

ichizok Aug 2, 2017

#1912 has pointed out the lack of a trailing semicolon.

@ichizok

ichizok Aug 2, 2017

#1912 has pointed out the lack of a trailing semicolon.

#endif
if (c == (termkey == 0 ? Ctrl_W : termkey))
View
@@ -769,6 +769,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
843,
/**/
842,
/**/

0 comments on commit 66cd19f

Please sign in to comment.