mirror of
https://github.com/neovim/neovim.git
synced 2025-10-02 16:08:36 +00:00
Remove project int types: Case short_u: Replace with uint16_t.
- Replace short_u with uint16_t (same size, should give no problems). - When possible, remove explicit downcasts so that they are found when flag -Wconversion enabled. - Remove short_u typedef. Requested in #459.
This commit is contained in:

committed by
Justin M. Keyes

parent
37935130f9
commit
cb7fb8c008
@@ -218,7 +218,7 @@ typedef void (*nv_func_T)(cmdarg_T *cap);
|
||||
static const struct nv_cmd {
|
||||
int cmd_char; /* (first) command character */
|
||||
nv_func_T cmd_func; /* function for this command */
|
||||
short_u cmd_flags; /* NV_ flags */
|
||||
uint16_t cmd_flags; /* NV_ flags */
|
||||
short cmd_arg; /* value for ca.arg */
|
||||
} nv_cmds[] =
|
||||
{
|
||||
|
Reference in New Issue
Block a user