mirror of
https://github.com/neovim/neovim.git
synced 2025-10-02 16:08:36 +00:00
refactor: replace char_u with char 20 (#21714)
refactor: replace char_u with char Work on https://github.com/neovim/neovim/issues/459
This commit is contained in:
@@ -1112,7 +1112,7 @@ int get_var_tv(const char *name, int len, typval_T *rettv, dictitem_T **dip, boo
|
||||
/// NULL when it doesn't exist.
|
||||
///
|
||||
/// @see tv_get_string() for how long the pointer remains valid.
|
||||
char_u *get_var_value(const char *const name)
|
||||
char *get_var_value(const char *const name)
|
||||
{
|
||||
dictitem_T *v;
|
||||
|
||||
@@ -1120,7 +1120,7 @@ char_u *get_var_value(const char *const name)
|
||||
if (v == NULL) {
|
||||
return NULL;
|
||||
}
|
||||
return (char_u *)tv_get_string(&v->di_tv);
|
||||
return (char *)tv_get_string(&v->di_tv);
|
||||
}
|
||||
|
||||
/// Clean up a list of internal variables.
|
||||
|
Reference in New Issue
Block a user