4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
10 Patch 7.1.239 (after 7.1.233)
11 Problem: Compiler warning for sprintf() argument.
12 Solution: Add a typecast. (Nico Weber)
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
21 /* Completion from Insert mode, pass fake arguments. */
23 ! sprintf((char *)num, "%d", STRLEN(xp->xp_pattern));
24 args[1] = xp->xp_pattern;
29 /* Completion from Insert mode, pass fake arguments. */
31 ! sprintf((char *)num, "%d", (int)STRLEN(xp->xp_pattern));
32 args[1] = xp->xp_pattern;
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
40 { /* Add new patch number below this line */
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
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 ///