commit | 4e0d974645012c3fc07d1754a4729d21e49773b6 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sat May 04 03:40:27 2013 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Sat May 04 03:40:27 2013 +0200 |
tree | ba30ff30381065927384d40a53fbcbeaa4b2a048 | |
parent | 02938a970cfaf97622417b2cc62eb6a955ef1016 [diff] [blame] |
updated for version 7.3.920 Problem: Compiler warning for size_t to int. Solution: Add a type cast. (Mike Williams)
diff --git a/src/misc1.c b/src/misc1.c index 789aad3..913d5ab 100644 --- a/src/misc1.c +++ b/src/misc1.c
@@ -10139,7 +10139,7 @@ # if defined(MSWIN) || defined(MSDOS) /* Avoid the path ending in a backslash, it fails when a comma is * appended. */ - len = STRLEN(buf); + len = (int)STRLEN(buf); if (buf[len - 1] == '\\') buf[len - 1] = '/'; # endif