From a2e4e0fc3b930caf20c4f6d2e70acf5325c3be51 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 15 Oct 2022 16:29:03 +0100 Subject: [PATCH] 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. --- src/time.c | 2 +- src/version.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/time.c b/src/time.c index a5be297d3..a7daaf176 100644 --- a/src/time.c +++ b/src/time.c @@ -1123,7 +1123,7 @@ add_time(char_u *buf, size_t buflen, time_t tt) #ifdef HAVE_STRFTIME struct tm tmval; struct tm *curtime; - int n; + size_t n; if (vim_time() - tt >= 100) { diff --git a/src/version.c b/src/version.c index 08851f8c9..502655ce1 100644 --- a/src/version.c +++ b/src/version.c @@ -695,6 +695,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 763, /**/ 762, /**/