| To: vim-dev@vim.org |
| Subject: Patch 7.1.239 |
| Fcc: outbox |
| From: Bram Moolenaar <Bram@moolenaar.net> |
| Mime-Version: 1.0 |
| Content-Type: text/plain; charset=ISO-8859-1 |
| Content-Transfer-Encoding: 8bit |
| |
| |
| Patch 7.1.239 (after 7.1.233) |
| Problem: Compiler warning for sprintf() argument. |
| Solution: Add a typecast. (Nico Weber) |
| Files: src/ex_getln.c |
| |
| |
| |
| |
| |
| *** 4694,4700 **** |
| { |
| /* Completion from Insert mode, pass fake arguments. */ |
| keep = 0; |
| ! sprintf((char *)num, "%d", STRLEN(xp->xp_pattern)); |
| args[1] = xp->xp_pattern; |
| } |
| else |
| --- 4694,4700 ---- |
| { |
| /* Completion from Insert mode, pass fake arguments. */ |
| keep = 0; |
| ! sprintf((char *)num, "%d", (int)STRLEN(xp->xp_pattern)); |
| args[1] = xp->xp_pattern; |
| } |
| else |
| |
| |
| |
| *** 668,669 **** |
| --- 668,671 ---- |
| { /* Add new patch number below this line */ |
| + /**/ |
| + 239, |
| /**/ |
| |
| -- |
| We apologise again for the fault in the subtitles. Those responsible for |
| sacking the people who have just been sacked have been sacked. |
| "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD |
| |
| /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ |
| /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ |
| \\\ download, build and distribute -- http://www.A-A-P.org /// |
| \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |