Patch 8.1.0156
Problem: MS-Windows compiler warning.
Solution: Add a type cast. (Mike Williams)
Files: src/version.c
*** ../vim-8.1.0155/src/version.c 2018-07-05 22:58:12.658446246 +0200
--- src/version.c 2018-07-06 22:50:55.951147490 +0200
***************
*** 61,67 ****
+ strlen(VIM_VERSION_DATE_ONLY)
+ strlen(date_time);
! longVersion = (char *)alloc(len);
if (longVersion == NULL)
longVersion = VIM_VERSION_LONG;
else
--- 61,67 ----
+ strlen(VIM_VERSION_DATE_ONLY)
+ strlen(date_time);
! longVersion = (char *)alloc((unsigned)len);
if (longVersion == NULL)
longVersion = VIM_VERSION_LONG;
else
*** ../vim-8.1.0155/src/version.c 2018-07-05 22:58:12.658446246 +0200
--- src/version.c 2018-07-06 22:50:55.951147490 +0200
***************
*** 791,792 ****
--- 791,794 ----
{ /* Add new patch number below this line */
+ /**/
+ 156,
/**/
--
hundred-and-one symptoms of being an internet addict:
192. Your boss asks you to "go fer" coffee and you come up with 235 FTP sites.
/// 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.