summaryrefslogtreecommitdiff
path: root/data/vim/patches/8.1.0912
blob: 1b4c29346b0e959ef086688c530491c287900e5b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
To: vim_dev@googlegroups.com
Subject: Patch 8.1.0912
Fcc: outbox
From: Bram Moolenaar <Bram@moolenaar.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
------------

Patch 8.1.0912
Problem:    MS-Windows: warning for signed/unsigned.
Solution:   Add type cast. (Nobuhiro Takasaki, closes #3945)
Files:	    src/terminal.c


*** ../vim-8.1.0911/src/terminal.c	2019-02-13 19:23:04.734816702 +0100
--- src/terminal.c	2019-02-13 21:20:25.299477289 +0100
***************
*** 5722,5728 ****
      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_refcount;
      term->tl_job = job;
  
--- 5722,5728 ----
      job->jv_proc_info = proc_info;
      job->jv_job_object = jo;
      job->jv_status = JOB_STARTED;
!     job->jv_tty_type = vim_strsave((char_u *)"conpty");
      ++job->jv_refcount;
      term->tl_job = job;
  
***************
*** 6056,6062 ****
  	    (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_refcount;
      term->tl_job = job;
  
--- 6056,6062 ----
  	    (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((char_u *)"winpty");
      ++job->jv_refcount;
      term->tl_job = job;
  
*** ../vim-8.1.0911/src/version.c	2019-02-13 21:19:09.503999092 +0100
--- src/version.c	2019-02-13 21:21:43.218944702 +0100
***************
*** 785,786 ****
--- 785,788 ----
  {   /* Add new patch number below this line */
+ /**/
+     912,
  /**/

-- 
There are two ways of constructing a software design. One way is to make
it so simple that there are obviously no deficiencies. The other way
is to make it so complicated that there are no obvious deficiencies.
                                                           -C.A.R. Hoare

 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///