|
1 To: [email protected] |
|
2 Subject: Patch 7.2.069 |
|
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.069 (after 7.2.060) |
|
11 Problem: Compiler warning for storing size_t in int. |
|
12 Solution: Add type cast. |
|
13 Files: src/spell.c |
|
14 |
|
15 |
|
16 *** ../vim-7.2.068/src/spell.c Sun Nov 30 21:11:54 2008 |
|
17 --- src/spell.c Tue Dec 9 22:19:04 2008 |
|
18 *************** |
|
19 *** 1765,1771 **** |
|
20 /* Second part matches at start of following compound word, now |
|
21 * check if first part matches at end of previous word. */ |
|
22 p = ((char_u **)gap->ga_data)[i]; |
|
23 ! len = STRLEN(p); |
|
24 if (len <= wlen && STRNCMP(ptr + wlen - len, p, len) == 0) |
|
25 return TRUE; |
|
26 } |
|
27 --- 1765,1771 ---- |
|
28 /* Second part matches at start of following compound word, now |
|
29 * check if first part matches at end of previous word. */ |
|
30 p = ((char_u **)gap->ga_data)[i]; |
|
31 ! len = (int)STRLEN(p); |
|
32 if (len <= wlen && STRNCMP(ptr + wlen - len, p, len) == 0) |
|
33 return TRUE; |
|
34 } |
|
35 *** ../vim-7.2.068/src/version.c Tue Dec 9 12:12:31 2008 |
|
36 --- src/version.c Tue Dec 9 22:21:15 2008 |
|
37 *************** |
|
38 *** 678,679 **** |
|
39 --- 678,681 ---- |
|
40 { /* Add new patch number below this line */ |
|
41 + /**/ |
|
42 + 69, |
|
43 /**/ |
|
44 |
|
45 -- |
|
46 The war between Emacs and Vi is over. Vi has won with 3 to 1. |
|
47 http://www.ssc.com/lg/issue30/raymond.html |
|
48 |
|
49 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ |
|
50 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ |
|
51 \\\ download, build and distribute -- http://www.A-A-P.org /// |
|
52 \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |