changeset 30857:ec7cb7e68968 v9.0.0763

patch 9.0.0763: MS-Windows: warning for using int for size_t Commit: https://github.com/vim/vim/commit/a2e4e0fc3b930caf20c4f6d2e70acf5325c3be51 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Oct 15 16:29:03 2022 +0100 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.
author Bram Moolenaar <Bram@vim.org>
date Sat, 15 Oct 2022 17:30:03 +0200
parents 60a5e5258f62
children 15bd708a797d
files src/time.c src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/time.c
+++ b/src/time.c
@@ -1123,7 +1123,7 @@ add_time(char_u *buf, size_t buflen, tim
 #ifdef HAVE_STRFTIME
     struct tm	tmval;
     struct tm	*curtime;
-    int		n;
+    size_t	n;
 
     if (vim_time() - tt >= 100)
     {
--- a/src/version.c
+++ b/src/version.c
@@ -696,6 +696,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    763,
+/**/
     762,
 /**/
     761,