summaryrefslogtreecommitdiff
path: root/src/ui_readline.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui_readline.c')
-rw-r--r--src/ui_readline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui_readline.c b/src/ui_readline.c
index 8e6ecb4..c05cc8f 100644
--- a/src/ui_readline.c
+++ b/src/ui_readline.c
@@ -79,7 +79,7 @@ size_t BarReadline (char *buf, const size_t bufSize, const char *mask,
* it, stdin will block */
while (1) {
int curFd = -1;
- char chr;
+ unsigned char chr;
struct timeval timeoutstruct;
/* select modifies set and timeout */