Patch 8.1.2252

10 views
Skip to first unread message

Bram Moolenaar

unread,
Nov 4, 2019, 2:37:27 PM11/4/19
to vim...@googlegroups.com

Patch 8.1.2252
Problem: Compiler warning for int size.
Solution: Add type cast. (Mike Williams)
Files: src/filepath.c


*** ../vim-8.1.2251/src/filepath.c 2019-10-30 04:10:00.053774871 +0100
--- src/filepath.c 2019-11-04 20:35:18.017017223 +0100
***************
*** 79,85 ****
vim_free(wfname);
vim_free(newbuf);

! *fnamelen = l == 0 ? l : STRLEN(*bufp);
return OK;
}

--- 79,85 ----
vim_free(wfname);
vim_free(newbuf);

! *fnamelen = l == 0 ? l : (int)STRLEN(*bufp);
return OK;
}

*** ../vim-8.1.2251/src/version.c 2019-11-03 23:37:08.288934381 +0100
--- src/version.c 2019-11-04 20:35:59.248837484 +0100
***************
*** 743,744 ****
--- 743,746 ----
{ /* Add new patch number below this line */
+ /**/
+ 2252,
/**/

--
"Space is big. Really big. You just won't believe how vastly hugely mind-
bogglingly big it is. I mean, you may think it's a long way down the
road to the chemist, but that's just peanuts to space."
-- Douglas Adams, "The Hitchhiker's Guide to the Galaxy"

/// Bram Moolenaar -- Br...@Moolenaar.net -- 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 ///
Reply all
Reply to author
Forward
0 new messages