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:
@@ -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)
|
||||
{
|
||||
|
@@ -695,6 +695,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
763,
|
||||
/**/
|
||||
762,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user