Patch 8.1.0395
Problem: Compiler warning on 64-bit MS-Windows.
Solution: Add type cast. (Mike Williams)
Files: src/diff.c
*** ../vim-8.1.0394/src/diff.c 2018-09-16 14:10:28.300323360 +0200
--- src/diff.c 2018-09-16 14:49:24.928809679 +0200
***************
*** 712,718 ****
// xdiff requires one big block of memory with all the text.
for (lnum = 1; lnum <= buf->b_ml.ml_line_count; ++lnum)
! len += STRLEN(ml_get_buf(buf, lnum, FALSE)) + 1;
ptr = lalloc(len, TRUE);
if (ptr == NULL)
{
--- 712,718 ----
// xdiff requires one big block of memory with all the text.
for (lnum = 1; lnum <= buf->b_ml.ml_line_count; ++lnum)
! len += (long)STRLEN(ml_get_buf(buf, lnum, FALSE)) + 1;
ptr = lalloc(len, TRUE);
if (ptr == NULL)
{
*** ../vim-8.1.0394/src/version.c 2018-09-16 14:10:28.300323360 +0200
--- src/version.c 2018-09-16 14:50:28.972105814 +0200
***************
*** 796,797 ****
--- 796,799 ----
{ /* Add new patch number below this line */
+ /**/
+ 395,
/**/
--
hundred-and-one symptoms of being an internet addict:
63. You start using smileys in your snail mail.
/// 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.