commit | 116a0f800c6a62e29c5af832df092507f1355c68 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Mon Aug 07 21:17:57 2017 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Mon Aug 07 21:17:57 2017 +0200 |
tree | c8a4d81c4701a385a4c09ed55d245ea849ea9b9c | |
parent | 6d87e9e1c6a580609d48d4aa54a20b26b10c5b77 [diff] [blame] |
patch 8.0.0888: compiler warnings with 64 bit build Problem: Compiler warnings with 64 bit build. Solution: Add type cast of change the type. (Mike Williams)
diff --git a/src/os_win32.c b/src/os_win32.c index 6c1a3db..2ee3f2e 100644 --- a/src/os_win32.c +++ b/src/os_win32.c
@@ -7031,7 +7031,8 @@ * main.c, so this part add str as literal. */ if (literal == FALSE) { - int len = STRLEN(str); + size_t len = STRLEN(str); + if (len > 2 && *str == '`' && *(str + len - 1) == '`') literal = TRUE; }