summaryrefslogtreecommitdiff
path: root/data/vim/patches/8.1.1383
blob: 746a017f3ba3ba5ba9c55e9dc9fce690803e7170 (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
To: vim_dev@googlegroups.com
Subject: Patch 8.1.1383
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.1383
Problem:    Warning for size_t/int mixup.
Solution:   Change type. (Mike Williams)
Files:	    src/search.c


*** ../vim-8.1.1382/src/search.c	2019-05-24 13:22:17.863644567 +0200
--- src/search.c	2019-05-24 17:54:27.864058079 +0200
***************
*** 1382,1388 ****
  	{
  	    char_u	*trunc;
  	    char_u	off_buf[40];
! 	    int		off_len = 0;
  
  	    // Compute msg_row early.
  	    msg_start();
--- 1382,1388 ----
  	{
  	    char_u	*trunc;
  	    char_u	off_buf[40];
! 	    size_t	off_len = 0;
  
  	    // Compute msg_row early.
  	    msg_start();
*** ../vim-8.1.1382/src/version.c	2019-05-24 17:32:57.351719237 +0200
--- src/version.c	2019-05-24 17:55:41.619471579 +0200
***************
*** 769,770 ****
--- 769,772 ----
  {   /* Add new patch number below this line */
+ /**/
+     1383,
  /**/

-- 
Giving a commit hash to refer to a patch is like giving longitude and
lattitude to refer to a city.

 /// 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    ///