0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

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.
This commit is contained in:
Bram Moolenaar
2022-10-15 16:29:03 +01:00
parent 4b082c4bd0
commit a2e4e0fc3b
2 changed files with 3 additions and 1 deletions

View File

@@ -1123,7 +1123,7 @@ add_time(char_u *buf, size_t buflen, time_t tt)
#ifdef HAVE_STRFTIME #ifdef HAVE_STRFTIME
struct tm tmval; struct tm tmval;
struct tm *curtime; struct tm *curtime;
int n; size_t n;
if (vim_time() - tt >= 100) if (vim_time() - tt >= 100)
{ {

View File

@@ -695,6 +695,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
763,
/**/ /**/
762, 762,
/**/ /**/