diff options
| author | Michael Brown | 2006-12-18 17:48:09 +0100 |
|---|---|---|
| committer | Michael Brown | 2006-12-18 17:48:09 +0100 |
| commit | 688eb60df4b2dc59908eccf386e28f8532c82259 (patch) | |
| tree | b22949a50721d3200528ff952b061801cd05b7c8 | |
| parent | Use iskey() and getchar() to interact with console, rather than object (diff) | |
| download | ipxe-688eb60df4b2dc59908eccf386e28f8532c82259.tar.gz ipxe-688eb60df4b2dc59908eccf386e28f8532c82259.tar.xz ipxe-688eb60df4b2dc59908eccf386e28f8532c82259.zip | |
Use int rather than short for bool; it will give more efficient code.
| -rw-r--r-- | src/include/curses.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/curses.h b/src/include/curses.h index 86825be4d..d35665845 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; |
