To: vim_dev@googlegroups.com Subject: Patch 8.2.3655 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.3655 Problem: Compiler warning for using size_t for int. Solution: Add a type cast. (Mike Williams, closes #9199) Files: src/vim9compile.c *** ../vim-8.2.3654/src/vim9compile.c 2021-11-22 20:10:14.882598756 +0000 --- src/vim9compile.c 2021-11-23 12:33:26.834698495 +0000 *************** *** 8255,8261 **** } else { ! if (!valid_varname(arg, varlen, FALSE)) goto failed; if (lookup_local(arg, varlen, NULL, cctx) == OK) { --- 8255,8261 ---- } else { ! if (!valid_varname(arg, (int)varlen, FALSE)) goto failed; if (lookup_local(arg, varlen, NULL, cctx) == OK) { *** ../vim-8.2.3654/src/version.c 2021-11-23 12:27:44.564837448 +0000 --- src/version.c 2021-11-23 12:34:56.718297083 +0000 *************** *** 759,760 **** --- 759,762 ---- { /* Add new patch number below this line */ + /**/ + 3655, /**/ -- You can be stopped by the police for biking over 65 miles per hour. You are not allowed to walk across a street on your hands. [real standing laws in Connecticut, United States of America] /// 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 ///