Patch 8.0.0387
Problem: compiler warnings
Solution: Add type casts. (Christian Brabandt)
Files: src/channel.c, src/memline.c
*** ../vim-8.0.0386/src/channel.c 2017-02-06 21:56:04.996335436 +0100
--- src/channel.c 2017-02-28 21:17:38.970334357 +0100
***************
*** 1966,1972 ****
* more (but still incomplete): set a deadline of 100 msec. */
ch_logn(channel,
"Incomplete message (%d bytes) - wait 100 msec for more",
! buflen);
reader.js_used = 0;
chanpart->ch_wait_len = buflen;
#ifdef WIN32
--- 1966,1972 ----
* more (but still incomplete): set a deadline of 100 msec. */
ch_logn(channel,
"Incomplete message (%d bytes) - wait 100 msec for more",
! (int)buflen);
reader.js_used = 0;
chanpart->ch_wait_len = buflen;
#ifdef WIN32
***************
*** 3299,3304 ****
--- 3299,3305 ----
channel_read(channel, part, "channel_read_block");
}
+ /* We have a complete message now. */
if (mode == MODE_RAW)
{
msg = channel_get_all(channel, part);
*** ../vim-8.0.0386/src/memline.c 2017-02-25 14:59:29.910090402 +0100
--- src/memline.c 2017-02-28 21:19:27.997595282 +0100
***************
*** 1863,1869 ****
else
{
#if defined(UNIX) || defined(WIN3264)
! int len = STRLEN(dir_name);
p = dir_name + len;
if (after_pathsep(dir_name, p) && len > 1 && p[-1] == p[-2])
--- 1863,1869 ----
else
{
#if defined(UNIX) || defined(WIN3264)
! int len = (int)STRLEN(dir_name);
p = dir_name + len;
if (after_pathsep(dir_name, p) && len > 1 && p[-1] == p[-2])
***************
*** 3924,3930 ****
#endif
#if defined(UNIX) || defined(WIN3264) /* Need _very_ long file names */
! int len = STRLEN(dir_name);
s = dir_name + len;
if (after_pathsep(dir_name, s) && len > 1 && s[-1] == s[-2])
--- 3924,3930 ----
#endif
#if defined(UNIX) || defined(WIN3264) /* Need _very_ long file names */
! int len = (int)STRLEN(dir_name);
s = dir_name + len;
if (after_pathsep(dir_name, s) && len > 1 && s[-1] == s[-2])
*** ../vim-8.0.0386/src/version.c 2017-02-27 22:59:35.524466813 +0100
--- src/version.c 2017-02-28 21:26:00.302982683 +0100
***************
*** 766,767 ****
--- 766,769 ----
{ /* Add new patch number below this line */
+ /**/
+ 387,
/**/
--
'Well, here's something to occupy you and keep your mind off things.'
'It won't work, I have an exceptionally large mind.'
-- Douglas Adams, "The Hitchhiker's Guide to the Galaxy"
/// 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.