Patch 7.4.1907
Problem: Warnings from 64 bit compiler.
Solution: Change type to size_t. (Mike Williams)
Files: src/ex_cmds.c
*** ../vim-7.4.1906/src/ex_cmds.c 2016-06-06 21:38:39.159553227 +0200
--- src/ex_cmds.c 2016-06-07 22:47:44.662307701 +0200
***************
*** 2574,2582 ****
if (vim_isdigit(p[1]))
{
! int len;
! int todo;
! int n;
/* String value was split into lines that are each shorter
* than LSIZE:
--- 2574,2582 ----
if (vim_isdigit(p[1]))
{
! size_t len;
! size_t todo;
! size_t n;
/* String value was split into lines that are each shorter
* than LSIZE:
***************
*** 2586,2592 ****
*/
++p;
len = getdigits(&p);
! buf = alloc(len + 1);
p = buf;
for (todo = len; todo > 0; todo -= n)
{
--- 2586,2592 ----
*/
++p;
len = getdigits(&p);
! buf = alloc((int)(len + 1));
p = buf;
for (todo = len; todo > 0; todo -= n)
{
*** ../vim-7.4.1906/src/version.c 2016-06-07 22:16:31.690333465 +0200
--- src/version.c 2016-06-07 22:48:28.094307103 +0200
***************
*** 755,756 ****
--- 755,758 ----
{ /* Add new patch number below this line */
+ /**/
+ 1907,
/**/
--
hundred-and-one symptoms of being an internet addict:
60. As your car crashes through the guardrail on a mountain road, your first
instinct is to search for the "back" button.
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.