aboutsummaryrefslogtreecommitdiff
path: root/src/normal.c
diff options
context:
space:
mode:
authorEliseo Martínez <eliseomarmol@gmail.com>2014-04-29 14:46:44 +0200
committerJustin M. Keyes <justinkz@gmail.com>2014-05-03 10:04:49 -0400
commitcb7fb8c008e3da673014952b960bf4604af7b210 (patch)
treef0e95663bb19be82fdaece06194e33cdc0c2d646 /src/normal.c
parent37935130f9c967f58de9900f7d86042116db9fd5 (diff)
downloadrneovim-cb7fb8c008e3da673014952b960bf4604af7b210.tar.gz
rneovim-cb7fb8c008e3da673014952b960bf4604af7b210.tar.bz2
rneovim-cb7fb8c008e3da673014952b960bf4604af7b210.zip
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.
Diffstat (limited to 'src/normal.c')
-rw-r--r--src/normal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/normal.c b/src/normal.c
index 0d6410f3a9..7c151bc862 100644
--- a/src/normal.c
+++ b/src/normal.c
@@ -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[] =
{