]>
Commit | Line | Data |
---|---|---|
4c907a04 AG |
1 | To: vim-dev@vim.org |
2 | Subject: Patch 7.2.012 | |
3 | Fcc: outbox | |
4 | From: Bram Moolenaar <Bram@moolenaar.net> | |
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.012 | |
11 | Problem: Compiler warnings when building with startup timing. | |
12 | Solution: Add type casts. | |
13 | Files: src/ex_cmds2.c | |
14 | ||
15 | ||
16 | *** ../vim-7.2.011/src/ex_cmds2.c Sun Jul 13 19:36:09 2008 | |
17 | --- src/ex_cmds2.c Tue Sep 2 11:14:41 2008 | |
18 | *************** | |
19 | *** 3145,3152 **** | |
20 | verbose_leave(); | |
21 | } | |
22 | #ifdef STARTUPTIME | |
23 | ! vim_snprintf(IObuff, IOSIZE, "sourcing %s", fname); | |
24 | ! time_msg(IObuff, &tv_start); | |
25 | time_pop(&tv_rel); | |
26 | #endif | |
27 | ||
28 | --- 3145,3152 ---- | |
29 | verbose_leave(); | |
30 | } | |
31 | #ifdef STARTUPTIME | |
32 | ! vim_snprintf((char *)IObuff, IOSIZE, "sourcing %s", fname); | |
33 | ! time_msg((char *)IObuff, &tv_start); | |
34 | time_pop(&tv_rel); | |
35 | #endif | |
36 | ||
37 | *** ../vim-7.2.011/src/version.c Sun Sep 7 13:54:31 2008 | |
38 | --- src/version.c Sun Sep 7 15:49:00 2008 | |
39 | *************** | |
40 | *** 678,679 **** | |
41 | --- 678,681 ---- | |
42 | { /* Add new patch number below this line */ | |
43 | + /**/ | |
44 | + 12, | |
45 | /**/ | |
46 | ||
47 | -- | |
48 | He who laughs last, thinks slowest. | |
49 | ||
50 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
51 | /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ | |
52 | \\\ download, build and distribute -- http://www.A-A-P.org /// | |
53 | \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |