commit | a2e4e0fc3b930caf20c4f6d2e70acf5325c3be51 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sat Oct 15 16:29:03 2022 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Sat Oct 15 16:29:03 2022 +0100 |
tree | 3e33ce0a72b1d0ca2db1cc7b83aab488476337d5 | |
parent | 4b082c4bd05f504fda1acaa9d28fca55a2d04857 [diff] [blame] |
patch 9.0.0763: MS-Windows: warning for using int for size_t Problem: MS-Windows: warning for using int for size_t. Solution: Declare variable as size_t.
diff --git a/src/time.c b/src/time.c index a5be297..a7daaf1 100644 --- a/src/time.c +++ b/src/time.c
@@ -1123,7 +1123,7 @@ #ifdef HAVE_STRFTIME struct tm tmval; struct tm *curtime; - int n; + size_t n; if (vim_time() - tt >= 100) {