summaryrefslogtreecommitdiffstats
path: root/src/include/curses.h
diff options
context:
space:
mode:
authorMichael Brown2006-12-18 17:48:09 +0100
committerMichael Brown2006-12-18 17:48:09 +0100
commit688eb60df4b2dc59908eccf386e28f8532c82259 (patch)
treeb22949a50721d3200528ff952b061801cd05b7c8 /src/include/curses.h
parentUse iskey() and getchar() to interact with console, rather than object (diff)
downloadipxe-688eb60df4b2dc59908eccf386e28f8532c82259.tar.gz
ipxe-688eb60df4b2dc59908eccf386e28f8532c82259.tar.xz
ipxe-688eb60df4b2dc59908eccf386e28f8532c82259.zip
Use int rather than short for bool; it will give more efficient code.
Diffstat (limited to 'src/include/curses.h')
-rw-r--r--src/include/curses.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/curses.h b/src/include/curses.h
index 86825be4..d3566584 100644
--- a/src/include/curses.h
+++ b/src/include/curses.h
@@ -22,7 +22,7 @@
#undef TRUE
#define TRUE (1)
-typedef short bool;
+typedef int bool;
typedef uint32_t chtype;
typedef uint32_t attr_t;