Use int rather than short for bool; it will give more efficient code.
authorMichael Brown <mcb30@etherboot.org>
Mon, 18 Dec 2006 16:48:09 +0000 (16:48 +0000)
committerMichael Brown <mcb30@etherboot.org>
Mon, 18 Dec 2006 16:48:09 +0000 (16:48 +0000)
src/include/curses.h

index 86825be..d356658 100644 (file)
@@ -22,7 +22,7 @@
 #undef  TRUE
 #define TRUE   (1)
 
-typedef short bool;
+typedef int bool;
 typedef uint32_t chtype;
 typedef uint32_t attr_t;