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
@@ -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;
|
||||
|
Reference in New Issue
Block a user