]>
Commit | Line | Data |
---|---|---|
8bb52fd3 ER |
1 | To: vim_dev@googlegroups.com |
2 | Subject: Patch 7.3.564 | |
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.564 (after 7.3.559) | |
11 | Problem: Warning for pointer conversion. | |
12 | Solution: Add type cast. | |
13 | Files: src/misc1.c | |
14 | ||
15 | ||
16 | *** ../vim-7.3.563/src/misc1.c 2012-06-20 14:02:23.000000000 +0200 | |
17 | --- src/misc1.c 2012-06-20 17:41:22.000000000 +0200 | |
18 | *************** | |
19 | *** 4537,4543 **** | |
20 | char_u *fbuf = NULL; | |
21 | ||
22 | flen = (int)STRLEN(homedir_env); | |
23 | ! (void)modify_fname(":p", &usedlen, &homedir_env, &fbuf, &flen); | |
24 | flen = (int)STRLEN(homedir_env); | |
25 | if (flen > 0 && vim_ispathsep(homedir_env[flen - 1])) | |
26 | /* Remove the trailing / that is added to a directory. */ | |
27 | --- 4537,4544 ---- | |
28 | char_u *fbuf = NULL; | |
29 | ||
30 | flen = (int)STRLEN(homedir_env); | |
31 | ! (void)modify_fname((char_u *)":p", &usedlen, | |
32 | ! &homedir_env, &fbuf, &flen); | |
33 | flen = (int)STRLEN(homedir_env); | |
34 | if (flen > 0 && vim_ispathsep(homedir_env[flen - 1])) | |
35 | /* Remove the trailing / that is added to a directory. */ | |
36 | *** ../vim-7.3.563/src/version.c 2012-06-20 17:54:34.000000000 +0200 | |
37 | --- src/version.c 2012-06-20 17:55:26.000000000 +0200 | |
38 | *************** | |
39 | *** 716,717 **** | |
40 | --- 716,719 ---- | |
41 | { /* Add new patch number below this line */ | |
42 | + /**/ | |
43 | + 564, | |
44 | /**/ | |
45 | ||
46 | -- | |
47 | hundred-and-one symptoms of being an internet addict: | |
48 | 46. Your wife makes a new rule: "The computer cannot come to bed." | |
49 | ||
50 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
51 | /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ | |
52 | \\\ an exciting new programming language -- http://www.Zimbu.org /// | |
53 | \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |