commit | ade59630c737026edfaeff2d76985b304a34afb5 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Thu Aug 17 11:22:46 2017 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Thu Aug 17 11:22:46 2017 +0200 |
tree | 8e6279e22e1e36212ae370c806680c0c1a863b51 | |
parent | 9e13aa7729486d79a530ecae1a7a95d10da27d61 [diff] [blame] |
patch 8.0.0950: MS-Windows: wrong #ifdef, compiler warnings Problem: MS-Windows: wrong #ifdef, compiler warnings for signed/unsigned. Solution: Change variable type. Change TERMINAL to FEAT_TERMINAL.
diff --git a/src/os_win32.c b/src/os_win32.c index 1098d7f..f1e1cad 100644 --- a/src/os_win32.c +++ b/src/os_win32.c
@@ -5072,7 +5072,7 @@ --todo; if (wkey != NULL && wval != NULL) { - int n; + size_t n; size_t lkey = wcslen(wkey); size_t lval = wcslen(wval);