To: vim_dev@googlegroups.com Subject: Patch 9.0.1163 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 9.0.1163 Problem: Compiler warning for implicit size_t/int conversion. Solution: Add a type cast. (Mike Williams, closes #11795) Files: src/vim9type.c *** ../vim-9.0.1162/src/vim9type.c 2023-01-07 13:07:06.986558035 +0000 --- src/vim9type.c 2023-01-09 14:16:05.360147105 +0000 *************** *** 1275,1281 **** // It can be a class or interface name. typval_T tv; tv.v_type = VAR_UNKNOWN; ! if (eval_variable(*arg, len, 0, &tv, NULL, EVAL_VAR_IMPORT) == OK) { if (tv.v_type == VAR_CLASS && tv.vval.v_class != NULL) { --- 1275,1281 ---- // It can be a class or interface name. typval_T tv; tv.v_type = VAR_UNKNOWN; ! if (eval_variable(*arg, (int)len, 0, &tv, NULL, EVAL_VAR_IMPORT) == OK) { if (tv.v_type == VAR_CLASS && tv.vval.v_class != NULL) { *** ../vim-9.0.1162/src/version.c 2023-01-09 13:18:04.545258534 +0000 --- src/version.c 2023-01-09 14:17:32.895734289 +0000 *************** *** 697,698 **** --- 697,700 ---- { /* Add new patch number below this line */ + /**/ + 1163, /**/ -- BEDEVERE: Why do you think she is a witch? SECOND VILLAGER: She turned me into a newt. BEDEVERE: A newt? SECOND VILLAGER: (After looking at himself for some time) I got better. "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD /// 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 ///