mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 8.2.3816: compiler warning for posible loss of data on MS-Windows
Problem: Compiler warning for posible loss of data on MS-Windows. Solution: Add type cast. (Mike Williams, closes #9349)
This commit is contained in:
committed by
Bram Moolenaar
parent
ce7eada12e
commit
1821d1498c
@@ -4194,7 +4194,7 @@ define_function(exarg_T *eap, char_u *name_arg)
|
|||||||
// In Vim9 script a function cannot have the same name as a
|
// In Vim9 script a function cannot have the same name as a
|
||||||
// variable.
|
// variable.
|
||||||
if (vim9script && *arg == K_SPECIAL
|
if (vim9script && *arg == K_SPECIAL
|
||||||
&& eval_variable(name_base, STRLEN(name_base), NULL, NULL,
|
&& eval_variable(name_base, (int)STRLEN(name_base), NULL, NULL,
|
||||||
EVAL_VAR_NOAUTOLOAD + EVAL_VAR_IMPORT
|
EVAL_VAR_NOAUTOLOAD + EVAL_VAR_IMPORT
|
||||||
+ EVAL_VAR_NO_FUNC) == OK)
|
+ EVAL_VAR_NO_FUNC) == OK)
|
||||||
{
|
{
|
||||||
|
@@ -749,6 +749,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
3816,
|
||||||
/**/
|
/**/
|
||||||
3815,
|
3815,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user