From: Bram Moolenaar Date: Sat, 15 Oct 2022 15:29:03 +0000 (+0100) Subject: patch 9.0.0763: MS-Windows: warning for using int for size_t X-Git-Tag: v9.0.0763 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a2e4e0fc3b930caf20c4f6d2e70acf5325c3be51;p=thirdparty%2Fvim.git 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 a5be297d39..a7daaf176e 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 08851f8c92..502655ce10 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, /**/