]> git.pld-linux.org Git - packages/vim.git/blob - 7.3.459
- add patches 7.3.619-743
[packages/vim.git] / 7.3.459
1 To: vim_dev@googlegroups.com
2 Subject: Patch 7.3.459
3 Fcc: outbox
4 From: Bram Moolenaar <Bram@moolenaar.net>
5 Mime-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
8 ------------
9
10 Patch 7.3.459
11 Problem:    Win32: Warnings for type conversion.
12 Solution:   Add type casts. (Mike Williams)
13 Files:      src/misc2.c, src/os_win32.c
14
15
16 *** ../vim-7.3.458/src/misc2.c  2012-02-22 18:12:29.000000000 +0100
17 --- src/misc2.c 2012-02-29 13:44:17.000000000 +0100
18 ***************
19 *** 2074,2080 ****
20             n = gap->ga_growsize;
21         new_len = gap->ga_itemsize * (gap->ga_len + n);
22         pp = (gap->ga_data == NULL)
23 !                       ? alloc(new_len) : vim_realloc(gap->ga_data, new_len);
24         if (pp == NULL)
25             return FAIL;
26         old_len = gap->ga_itemsize * gap->ga_maxlen;
27 --- 2074,2080 ----
28             n = gap->ga_growsize;
29         new_len = gap->ga_itemsize * (gap->ga_len + n);
30         pp = (gap->ga_data == NULL)
31 !             ? alloc((unsigned)new_len) : vim_realloc(gap->ga_data, new_len);
32         if (pp == NULL)
33             return FAIL;
34         old_len = gap->ga_itemsize * gap->ga_maxlen;
35 *** ../vim-7.3.458/src/os_win32.c       2012-02-22 15:34:05.000000000 +0100
36 --- src/os_win32.c      2012-02-29 13:43:39.000000000 +0100
37 ***************
38 *** 264,270 ****
39       static void
40   unescape_shellxquote(char_u *p, char_u *escaped)
41   {
42 !     int           l = STRLEN(p);
43       int           n;
44   
45       while (*p != NUL)
46 --- 264,270 ----
47       static void
48   unescape_shellxquote(char_u *p, char_u *escaped)
49   {
50 !     int           l = (int)STRLEN(p);
51       int           n;
52   
53       while (*p != NUL)
54 *** ../vim-7.3.458/src/version.c        2012-02-29 13:51:32.000000000 +0100
55 --- src/version.c       2012-02-29 13:58:08.000000000 +0100
56 ***************
57 *** 716,717 ****
58 --- 716,719 ----
59   {   /* Add new patch number below this line */
60 + /**/
61 +     459,
62   /**/
63
64 -- 
65 "A clear conscience is usually the sign of a bad memory."
66                              -- Steven Wright
67
68  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
69 ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
70 \\\  an exciting new programming language -- http://www.Zimbu.org        ///
71  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
This page took 0.098605 seconds and 3 git commands to generate.