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:
Eliseo Martínez
2014-04-29 14:46:44 +02:00
committed by Justin M. Keyes
parent 37935130f9
commit cb7fb8c008
6 changed files with 13 additions and 15 deletions

View File

@@ -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;