commit | 38f5f9529a2657d42fd85d27adc9f778bdf3530e | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Thu Jan 26 13:01:59 2012 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Thu Jan 26 13:01:59 2012 +0100 |
tree | 3181170d58dca17f66977d513d5cc5f546aaf106 | |
parent | 2b04b19455762e0410dbcbe2c29d60dfa4b98b2e [diff] [blame] |
updated for version 7.3.413 Problem: Build warnings on MS-Windows. Solution: Add type casts. (Mike Williams)
diff --git a/src/message.c b/src/message.c index 872fadc..c9b6a28 100644 --- a/src/message.c +++ b/src/message.c
@@ -325,7 +325,7 @@ if (e + 3 < buflen) { mch_memmove(buf + e, "...", (size_t)3); - len = STRLEN(s + i) + 1; + len = (int)STRLEN(s + i) + 1; if (len >= buflen - e - 3) len = buflen - e - 3 - 1; mch_memmove(buf + e + 3, s + i, len);