Browse Source

Use int rather than short for bool; it will give more efficient code.

tags/v0.9.3
Michael Brown 18 years ago
parent
commit
688eb60df4
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/include/curses.h

+ 1
- 1
src/include/curses.h View File

22
 #undef  TRUE
22
 #undef  TRUE
23
 #define TRUE	(1)
23
 #define TRUE	(1)
24
 
24
 
25
-typedef short bool;
25
+typedef int bool;
26
 typedef uint32_t chtype;
26
 typedef uint32_t chtype;
27
 typedef uint32_t attr_t;
27
 typedef uint32_t attr_t;
28
 
28
 

Loading…
Cancel
Save