summaryrefslogtreecommitdiffstats
path: root/patches/source/vim/patches/7.4.058
blob: 0715c848dd964bc322c6eb05d44222dcab9f9fd8 (plain) (blame)
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
To: vim_dev@googlegroups.com
Subject: Patch 7.4.058
Fcc: outbox
From: Bram Moolenaar <Bram@moolenaar.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
------------

Patch 7.4.058
Problem:    Warnings on 64 bit Windows.
Solution:   Add type casts. (Mike Williams)
Files:      src/ops.c


*** ../vim-7.4.057/src/ops.c	2013-10-06 17:46:48.000000000 +0200
--- src/ops.c	2013-11-02 23:56:15.000000000 +0100
***************
*** 5009,5022 ****
  		    if (second_indent > 0)  /* the "leader" for FO_Q_SECOND */
  		{
  		    char_u *p = ml_get_curline();
! 		    int indent = skipwhite(p) - p;
  
  		    if (indent > 0)
  		    {
  			(void)del_bytes(indent, FALSE, FALSE);
  			mark_col_adjust(curwin->w_cursor.lnum,
  					       (colnr_T)0, 0L, (long)-indent);
! 		      }
  		}
  		curwin->w_cursor.lnum--;
  		if (do_join(2, TRUE, FALSE, FALSE) == FAIL)
--- 5009,5022 ----
  		    if (second_indent > 0)  /* the "leader" for FO_Q_SECOND */
  		{
  		    char_u *p = ml_get_curline();
! 		    int indent = (int)(skipwhite(p) - p);
  
  		    if (indent > 0)
  		    {
  			(void)del_bytes(indent, FALSE, FALSE);
  			mark_col_adjust(curwin->w_cursor.lnum,
  					       (colnr_T)0, 0L, (long)-indent);
! 		    }
  		}
  		curwin->w_cursor.lnum--;
  		if (do_join(2, TRUE, FALSE, FALSE) == FAIL)
*** ../vim-7.4.057/src/version.c	2013-11-02 23:29:17.000000000 +0100
--- src/version.c	2013-11-02 23:55:01.000000000 +0100
***************
*** 740,741 ****
--- 740,743 ----
  {   /* Add new patch number below this line */
+ /**/
+     58,
  /**/

-- 
Citizens are not allowed to attend a movie house or theater nor ride in a
public streetcar within at least four hours after eating garlic.
		[real standing law in Indiana, United States of America]

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