mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
patch 9.0.1746: vim9class compile error for char/char_u conversion
Problem: vim9class compile error for char/char_u conversion Solution: Correctly cast to (char *) Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
@@ -695,6 +695,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 */
|
||||||
|
/**/
|
||||||
|
1746,
|
||||||
/**/
|
/**/
|
||||||
1745,
|
1745,
|
||||||
/**/
|
/**/
|
||||||
|
@@ -802,7 +802,7 @@ early_ret:
|
|||||||
continue;
|
continue;
|
||||||
|
|
||||||
// Ensure the type is matching.
|
// Ensure the type is matching.
|
||||||
where.wt_func_name = m->ocm_name;
|
where.wt_func_name = (char *)m->ocm_name;
|
||||||
where.wt_kind = WT_MEMBER;
|
where.wt_kind = WT_MEMBER;
|
||||||
if (check_type_maybe(if_ms[if_i].ocm_type, m->ocm_type, TRUE,
|
if (check_type_maybe(if_ms[if_i].ocm_type, m->ocm_type, TRUE,
|
||||||
where) != OK)
|
where) != OK)
|
||||||
|
Reference in New Issue
Block a user