]> granicus.if.org Git - vim/commitdiff
patch 8.0.0843: MS-Windows: compiler warning for signed/unsigned v8.0.0843
authorBram Moolenaar <Bram@vim.org>
Wed, 2 Aug 2017 21:13:27 +0000 (23:13 +0200)
committerBram Moolenaar <Bram@vim.org>
Wed, 2 Aug 2017 21:13:27 +0000 (23:13 +0200)
Problem:    MS-Windows: compiler warning for signed/unsigned.
Solution:   Add type cast. (Yasuhiro Matsumoto, closes #1912)

src/terminal.c
src/version.c

index 5622ce35967d019e963b16c64da9b0ee0f420f14..53edb83c8b53b212f961f1f83d38ff74241b859f 100644 (file)
@@ -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))
index 0ef1f452b0807b102a559c732b88ef0ed49ebe8f..2db4ca9214ad39d5fc67b50359dd790b8c5dbe0d 100644 (file)
@@ -769,6 +769,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    843,
 /**/
     842,
 /**/