Use int rather than short for bool; it will give more efficient code.
This commit is contained in:
parent
2ed2b2efe8
commit
688eb60df4
|
@ -22,7 +22,7 @@
|
||||||
#undef TRUE
|
#undef TRUE
|
||||||
#define TRUE (1)
|
#define TRUE (1)
|
||||||
|
|
||||||
typedef short bool;
|
typedef int bool;
|
||||||
typedef uint32_t chtype;
|
typedef uint32_t chtype;
|
||||||
typedef uint32_t attr_t;
|
typedef uint32_t attr_t;
|
||||||
|
|
||||||
|
|
Reference in New Issue