summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 */