Remove long_u: term: Enable -Wconversion.

This commit is contained in:
Eliseo Martínez
2015-01-09 19:23:35 +01:00
parent 2b93edde93
commit 31c8440fee
7 changed files with 129 additions and 116 deletions

View File

@@ -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;
}