summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-10-15 16:29:03 +0100
committerBram Moolenaar <Bram@vim.org>2022-10-15 16:29:03 +0100
commita2e4e0fc3b930caf20c4f6d2e70acf5325c3be51 (patch)
tree3e33ce0a72b1d0ca2db1cc7b83aab488476337d5
parent4b082c4bd05f504fda1acaa9d28fca55a2d04857 (diff)
downloadvim-git-a2e4e0fc3b930caf20c4f6d2e70acf5325c3be51.tar.gz
patch 9.0.0763: MS-Windows: warning for using int for size_tv9.0.0763
Problem: MS-Windows: warning for using int for size_t. Solution: Declare variable as size_t.
-rw-r--r--src/time.c2
-rw-r--r--src/version.c2
2 files changed, 3 insertions, 1 deletions
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
@@ -696,6 +696,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 763,
+/**/
762,
/**/
761,