Patch 9.0.0763

7 views
Skip to first unread message

Bram Moolenaar

unread,
Oct 15, 2022, 11:29:51 AM10/15/22
to vim...@googlegroups.com

Patch 9.0.0763
Problem: MS-Windows: warning for using int for size_t.
Solution: Declare variable as size_t.
Files: src/time.c


*** ../vim-9.0.0762/src/time.c 2022-10-12 13:30:21.774239575 +0100
--- src/time.c 2022-10-15 16:27:39.514611047 +0100
***************
*** 1123,1129 ****
#ifdef HAVE_STRFTIME
struct tm tmval;
struct tm *curtime;
! int n;

if (vim_time() - tt >= 100)
{
--- 1123,1129 ----
#ifdef HAVE_STRFTIME
struct tm tmval;
struct tm *curtime;
! size_t n;

if (vim_time() - tt >= 100)
{
*** ../vim-9.0.0762/src/version.c 2022-10-15 16:25:23.982973900 +0100
--- src/version.c 2022-10-15 16:28:49.734427221 +0100
***************
*** 697,698 ****
--- 697,700 ----
{ /* Add new patch number below this line */
+ /**/
+ 763,
/**/

--
Shaw's Principle: Build a system that even a fool can use, and
only a fool will want to use it.

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages