]>
Commit | Line | Data |
---|---|---|
c6060300 MT |
1 | To: vim_dev@googlegroups.com |
2 | Subject: Patch 7.3.416 | |
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.416 (after 7.3.415) | |
11 | Problem: Compiler warning for wrong pointer. | |
12 | Solution: Add type cast. | |
13 | Files: src/eval.c | |
14 | ||
15 | ||
16 | *** ../vim-7.3.415/src/eval.c 2012-01-26 14:32:26.000000000 +0100 | |
17 | --- src/eval.c 2012-01-26 15:42:56.000000000 +0100 | |
18 | *************** | |
19 | *** 21802,21808 **** | |
20 | fp = HI2UF(hi); | |
21 | ||
22 | if (fp->uf_flags & FC_DICT) | |
23 | ! return ""; /* don't show dict functions */ | |
24 | ||
25 | if (STRLEN(fp->uf_name) + 4 >= IOSIZE) | |
26 | return fp->uf_name; /* prevents overflow */ | |
27 | --- 21802,21808 ---- | |
28 | fp = HI2UF(hi); | |
29 | ||
30 | if (fp->uf_flags & FC_DICT) | |
31 | ! return (char_u *)""; /* don't show dict functions */ | |
32 | ||
33 | if (STRLEN(fp->uf_name) + 4 >= IOSIZE) | |
34 | return fp->uf_name; /* prevents overflow */ | |
35 | *** ../vim-7.3.415/src/version.c 2012-01-26 14:32:26.000000000 +0100 | |
36 | --- src/version.c 2012-01-26 15:43:31.000000000 +0100 | |
37 | *************** | |
38 | *** 716,717 **** | |
39 | --- 716,719 ---- | |
40 | { /* Add new patch number below this line */ | |
41 | + /**/ | |
42 | + 416, | |
43 | /**/ | |
44 | ||
45 | -- | |
46 | It's totally unfair to suggest - as many have - that engineers are socially | |
47 | inept. Engineers simply have different objectives when it comes to social | |
48 | interaction. | |
49 | (Scott Adams - The Dilbert principle) | |
50 | ||
51 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
52 | /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ | |
53 | \\\ an exciting new programming language -- http://www.Zimbu.org /// | |
54 | \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |