Patch 7.4.1396
Problem: Compiler warnings for conversions.
Solution: Add type cast.
Files: src/ex_cmds2.c
*** ../vim-7.4.1395/src/ex_cmds2.c 2016-02-22 20:18:57.109398389 +0100
--- src/ex_cmds2.c 2016-02-22 23:25:04.532479508 +0100
***************
*** 3087,3094 ****
if (strstr((char *)p_rtp, (char *)fname) == NULL)
{
/* directory not in 'runtimepath', add it */
! oldlen = STRLEN(p_rtp);
! addlen = STRLEN(fname);
new_rtp = alloc(oldlen + addlen + 2);
if (new_rtp == NULL)
{
--- 3087,3094 ----
if (strstr((char *)p_rtp, (char *)fname) == NULL)
{
/* directory not in 'runtimepath', add it */
! oldlen = (int)STRLEN(p_rtp);
! addlen = (int)STRLEN(fname);
new_rtp = alloc(oldlen + addlen + 2);
if (new_rtp == NULL)
{
***************
*** 3130,3136 ****
int len;
char *pat;
! len = STRLEN(pattern) + STRLEN(eap->arg);
pat = (char *)alloc(len);
if (pat == NULL)
return;
--- 3130,3136 ----
int len;
char *pat;
! len = (int)STRLEN(pattern) + (int)STRLEN(eap->arg);
pat = (char *)alloc(len);
if (pat == NULL)
return;
*** ../vim-7.4.1395/src/version.c 2016-02-22 23:13:28.639798334 +0100
--- src/version.c 2016-02-22 23:24:16.132988431 +0100
***************
*** 750,751 ****
--- 750,753 ----
{ /* Add new patch number below this line */
+ /**/
+ 1396,
/**/
--
Advice to worms: Sleep late.
/// 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.