To: vim_dev@googlegroups.com Subject: Patch 9.0.0763 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ 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 -- Bram@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 ///