diff options
author | Eliseo Martínez <eliseomarmol@gmail.com> | 2014-04-29 14:46:44 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2014-05-03 10:04:49 -0400 |
commit | cb7fb8c008e3da673014952b960bf4604af7b210 (patch) | |
tree | f0e95663bb19be82fdaece06194e33cdc0c2d646 /src/syntax_defs.h | |
parent | 37935130f9c967f58de9900f7d86042116db9fd5 (diff) | |
download | rneovim-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/syntax_defs.h')
-rw-r--r-- | src/syntax_defs.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/syntax_defs.h b/src/syntax_defs.h index 6b16d64621..aed2913f81 100644 --- a/src/syntax_defs.h +++ b/src/syntax_defs.h @@ -69,8 +69,8 @@ typedef struct attr_entry { } term; struct { /* These colors need to be > 8 bits to hold 256. */ - short_u fg_color; /* foreground color number */ - short_u bg_color; /* background color number */ + uint16_t fg_color; /* foreground color number */ + uint16_t bg_color; /* background color number */ } cterm; } ae_u; } attrentry_T; |