diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-08-07 21:17:57 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-08-07 21:17:57 +0200 |
commit | 116a0f800c6a62e29c5af832df092507f1355c68 (patch) | |
tree | c8a4d81c4701a385a4c09ed55d245ea849ea9b9c /src/os_mswin.c | |
parent | 6d87e9e1c6a580609d48d4aa54a20b26b10c5b77 (diff) | |
download | vim-git-116a0f800c6a62e29c5af832df092507f1355c68.tar.gz |
patch 8.0.0888: compiler warnings with 64 bit buildv8.0.0888
Problem: Compiler warnings with 64 bit build.
Solution: Add type cast of change the type. (Mike Williams)
Diffstat (limited to 'src/os_mswin.c')
-rw-r--r-- | src/os_mswin.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/os_mswin.c b/src/os_mswin.c index 374a2399c..815454955 100644 --- a/src/os_mswin.c +++ b/src/os_mswin.c @@ -453,8 +453,9 @@ slash_adjust(char_u *p) if (*p == '`') { + size_t len = STRLEN(p); + /* don't replace backslash in backtick quoted strings */ - int len = STRLEN(p); if (len > 2 && *(p + len - 1) == '`') return; } |