While looking at the appveyor build log, I noticed some warnings for the
64bit builds. This patch fixes them:
diff --git a/src/channel.c b/src/channel.c
index d2439a95d..0dab895da 100644
--- a/src/channel.c
+++ b/src/channel.c
@@ -1966,7 +1966,7 @@ channel_parse_json(channel_T *channel, ch_part_T part)
* more (but still incomplete): set a deadline of 100 msec. */
ch_logn(channel,
"Incomplete message (%d bytes) - wait 100 msec for more",
- buflen);
+ (int)buflen);
reader.js_used = 0;
chanpart->ch_wait_len = buflen;
#ifdef WIN32
diff --git a/src/memline.c b/src/memline.c
index 01e8d5ba3..f9852e55b 100644
--- a/src/memline.c
+++ b/src/memline.c
@@ -1863,7 +1863,7 @@ recover_names(
else
{
#if defined(UNIX) || defined(WIN3264)
- int len = STRLEN(dir_name);
+ int len = (int)STRLEN(dir_name);
p = dir_name + len;
if (after_pathsep(dir_name, p) && len > 1 && p[-1] == p[-2])
@@ -3924,7 +3924,7 @@ makeswapname(
#endif
#if defined(UNIX) || defined(WIN3264) /* Need _very_ long file names */
- int len = STRLEN(dir_name);
+ int len = (int)STRLEN(dir_name);
s = dir_name + len;
if (after_pathsep(dir_name, s) && len > 1 && s[-1] == s[-2])
Mit freundlichen Grüßen
Christian
--
Wir würden uns oft unserer schönsten Taten schämen, wenn die Welt alle
Beweggründe sähe, aus denen sie hervorgehen.
-- François Duc de La Rochefoucauld
--
--
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.