diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2015-01-10 09:33:27 -0500 |
|---|---|---|
| committer | Justin M. Keyes <justinkz@gmail.com> | 2015-01-10 09:33:27 -0500 |
| commit | f2460e93be3e047c1350a970e5963aadc90f2697 (patch) | |
| tree | 5e861e5fbdac77afaab50ea7da9982479d26102e /src/nvim/keymap.c | |
| parent | 515acf72247518ed34c5f76ce6fe007217cd94bb (diff) | |
| parent | 85904c992e3b8bd142bdedbb3b85cd17be67b39a (diff) | |
| download | rneovim-f2460e93be3e047c1350a970e5963aadc90f2697.tar.gz rneovim-f2460e93be3e047c1350a970e5963aadc90f2697.tar.bz2 rneovim-f2460e93be3e047c1350a970e5963aadc90f2697.zip | |
Merge pull request #1788 from elmart/remove-long_u-4
Remove project-specific integer types: long_u. (4)
Diffstat (limited to 'src/nvim/keymap.c')
| -rw-r--r-- | src/nvim/keymap.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/keymap.c b/src/nvim/keymap.c index 33eaf35555..251926c01a 100644 --- a/src/nvim/keymap.c +++ b/src/nvim/keymap.c @@ -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; } |
