1 To: [email protected] |
|
2 Subject: Patch 7.2.098 |
|
3 Fcc: outbox |
|
4 From: Bram Moolenaar <[email protected]> |
|
5 Mime-Version: 1.0 |
|
6 Content-Type: text/plain; charset=ISO-8859-1 |
|
7 Content-Transfer-Encoding: 8bit |
|
8 ------------ |
|
9 |
|
10 Patch 7.2.098 |
|
11 Problem: Warning for signed/unsigned pointer. |
|
12 Solution: Add type cast. |
|
13 Files: src/eval.c |
|
14 |
|
15 |
|
16 *** ../vim-7.2.097/src/eval.c Wed Jan 28 19:08:31 2009 |
|
17 --- src/eval.c Wed Feb 4 13:09:01 2009 |
|
18 *************** |
|
19 *** 3928,3934 **** |
|
20 |
|
21 /* |
|
22 * Handle top level expression: |
|
23 ! * expr1 ? expr0 : expr0 |
|
24 * |
|
25 * "arg" must point to the first non-white of the expression. |
|
26 * "arg" is advanced to the next non-white after the recognized expression. |
|
27 --- 3928,3934 ---- |
|
28 |
|
29 /* |
|
30 * Handle top level expression: |
|
31 ! * expr2 ? expr1 : expr1 |
|
32 * |
|
33 * "arg" must point to the first non-white of the expression. |
|
34 * "arg" is advanced to the next non-white after the recognized expression. |
|
35 *************** |
|
36 *** 19912,19918 **** |
|
37 : eval_isnamec(arg[j]))) |
|
38 ++j; |
|
39 if (arg[j] != NUL) |
|
40 ! emsg_funcname(e_invarg2, arg); |
|
41 } |
|
42 } |
|
43 |
|
44 --- 19912,19918 ---- |
|
45 : eval_isnamec(arg[j]))) |
|
46 ++j; |
|
47 if (arg[j] != NUL) |
|
48 ! emsg_funcname((char *)e_invarg2, arg); |
|
49 } |
|
50 } |
|
51 |
|
52 *** ../vim-7.2.097/src/version.c Wed Feb 4 14:18:44 2009 |
|
53 --- src/version.c Wed Feb 4 16:24:06 2009 |
|
54 *************** |
|
55 *** 678,679 **** |
|
56 --- 678,681 ---- |
|
57 { /* Add new patch number below this line */ |
|
58 + /**/ |
|
59 + 98, |
|
60 /**/ |
|
61 |
|
62 -- |
|
63 Everybody lies, but it doesn't matter since nobody listens. |
|
64 -- Lieberman's Law |
|
65 |
|
66 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ |
|
67 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ |
|
68 \\\ download, build and distribute -- http://www.A-A-P.org /// |
|
69 \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |
|