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 -- [email protected] -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/20230109141846.C76B61C044B%40moolenaar.net.