mirror of
https://github.com/neovim/neovim.git
synced 2025-09-16 16:28:17 +00:00
Remove long_u: term: Enable -Wconversion.
This commit is contained in:
@@ -487,7 +487,7 @@ char_u *get_special_key_name(int c, int modifiers)
|
||||
* If there is a match, srcp is advanced to after the <> name.
|
||||
* dst[] must be big enough to hold the result (up to six characters)!
|
||||
*/
|
||||
int
|
||||
unsigned int
|
||||
trans_special (
|
||||
char_u **srcp,
|
||||
char_u *dst,
|
||||
@@ -729,9 +729,9 @@ int get_special_key_code(char_u *name)
|
||||
return 0;
|
||||
}
|
||||
|
||||
char_u *get_key_name(int i)
|
||||
char_u *get_key_name(size_t i)
|
||||
{
|
||||
if (i >= (int)KEY_NAMES_TABLE_LEN)
|
||||
if (i >= KEY_NAMES_TABLE_LEN)
|
||||
return NULL;
|
||||
return key_names_table[i].name;
|
||||
}
|
||||
|
Reference in New Issue
Block a user