]>
Commit | Line | Data |
---|---|---|
baa3863f ER |
1 | To: vim-dev@vim.org |
2 | Subject: Patch 7.1.239 | |
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.1.239 (after 7.1.233) | |
11 | Problem: Compiler warning for sprintf() argument. | |
12 | Solution: Add a typecast. (Nico Weber) | |
13 | Files: src/ex_getln.c | |
14 | ||
15 | ||
16 | *** ../vim-7.1.238/src/ex_getln.c Sat Jan 19 15:55:51 2008 | |
17 | --- src/ex_getln.c Tue Jan 22 12:40:54 2008 | |
18 | *************** | |
19 | *** 4694,4700 **** | |
20 | { | |
21 | /* Completion from Insert mode, pass fake arguments. */ | |
22 | keep = 0; | |
23 | ! sprintf((char *)num, "%d", STRLEN(xp->xp_pattern)); | |
24 | args[1] = xp->xp_pattern; | |
25 | } | |
26 | else | |
27 | --- 4694,4700 ---- | |
28 | { | |
29 | /* Completion from Insert mode, pass fake arguments. */ | |
30 | keep = 0; | |
31 | ! sprintf((char *)num, "%d", (int)STRLEN(xp->xp_pattern)); | |
32 | args[1] = xp->xp_pattern; | |
33 | } | |
34 | else | |
35 | *** ../vim-7.1.238/src/version.c Tue Jan 22 11:58:41 2008 | |
36 | --- src/version.c Tue Jan 22 12:42:36 2008 | |
37 | *************** | |
38 | *** 668,669 **** | |
39 | --- 668,671 ---- | |
40 | { /* Add new patch number below this line */ | |
41 | + /**/ | |
42 | + 239, | |
43 | /**/ | |
44 | ||
45 | -- | |
46 | We apologise again for the fault in the subtitles. Those responsible for | |
47 | sacking the people who have just been sacked have been sacked. | |
48 | "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD | |
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 /// |