]> git.pld-linux.org Git - packages/vim.git/blob - 7.2.275
- new
[packages/vim.git] / 7.2.275
1 To: vim-dev@vim.org
2 Subject: Patch 7.2.275
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.2.275
11 Problem:    Warning for unused argument and comparing signed and unsigned.
12 Solution:   Add type cast.
13 Files:      src/memline.c
14
15
16 *** ../vim-7.2.274/src/memline.c        2009-11-03 13:06:03.000000000 +0100
17 --- src/memline.c       2009-10-29 20:55:08.000000000 +0100
18 ***************
19 *** 1285,1291 ****
20                     for (i = 0; i < dp->db_line_count; ++i)
21                     {
22                         txt_start = (dp->db_index[i] & DB_INDEX_MASK);
23 !                       if (txt_start <= HEADER_SIZE
24                                           || txt_start >= (int)dp->db_txt_end)
25                         {
26                             p = (char_u *)"???";
27 --- 1285,1291 ----
28                     for (i = 0; i < dp->db_line_count; ++i)
29                     {
30                         txt_start = (dp->db_index[i] & DB_INDEX_MASK);
31 !                       if (txt_start <= (int)HEADER_SIZE
32                                           || txt_start >= (int)dp->db_txt_end)
33                         {
34                             p = (char_u *)"???";
35 ***************
36 *** 1296,1302 ****
37                         ml_append(lnum++, p, (colnr_T)0, TRUE);
38                     }
39                     if (has_error)
40 !                       ml_append(lnum++, (char_u *)_("???END"), (colnr_T)0, TRUE);
41                 }
42             }
43         }
44 --- 1296,1303 ----
45                         ml_append(lnum++, p, (colnr_T)0, TRUE);
46                     }
47                     if (has_error)
48 !                       ml_append(lnum++, (char_u *)_("???END"),
49 !                                                           (colnr_T)0, TRUE);
50                 }
51             }
52         }
53 ***************
54 *** 3576,3586 ****
55    * Make swap file name out of the file name and a directory name.
56    * Returns pointer to allocated memory or NULL.
57    */
58 - /*ARGSUSED*/
59       char_u *
60   makeswapname(fname, ffname, buf, dir_name)
61       char_u    *fname;
62 !     char_u    *ffname;
63       buf_T     *buf;
64       char_u    *dir_name;
65   {
66 --- 3577,3586 ----
67    * Make swap file name out of the file name and a directory name.
68    * Returns pointer to allocated memory or NULL.
69    */
70       char_u *
71   makeswapname(fname, ffname, buf, dir_name)
72       char_u    *fname;
73 !     char_u    *ffname UNUSED;
74       buf_T     *buf;
75       char_u    *dir_name;
76   {
77 *** ../vim-7.2.274/src/version.c        2009-11-03 14:46:35.000000000 +0100
78 --- src/version.c       2009-11-03 15:28:33.000000000 +0100
79 ***************
80 *** 678,679 ****
81 --- 678,681 ----
82   {   /* Add new patch number below this line */
83 + /**/
84 +     275,
85   /**/
86
87 -- 
88 BRIDGEKEEPER: What is your favorite colour?
89 GAWAIN:       Blue ...  No yelloooooww!
90                  "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
91
92  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
93 ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
94 \\\        download, build and distribute -- http://www.A-A-P.org        ///
95  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
This page took 0.443265 seconds and 3 git commands to generate.