diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2011-03-26 12:46:29 +0100 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2011-03-26 12:46:29 +0100 |
commit | 6d3009b31e079498919a0678d48b6a911d1c4325 (patch) | |
tree | 7ea8b8044c2c00c351e0a5b6c384b306117706dd | |
parent | 4ac74148ae5af4809c0ef6d54f99ae27c52dac8b (diff) | |
download | pianobar-windows-6d3009b31e079498919a0678d48b6a911d1c4325.tar.gz pianobar-windows-6d3009b31e079498919a0678d48b6a911d1c4325.tar.bz2 pianobar-windows-6d3009b31e079498919a0678d48b6a911d1c4325.zip |
Fix broken multibyte character readline
Introduced by ce8503f859345990a14be90bf89dadf7f73d7613. Escaping from
signedness hell again.
-rw-r--r-- | src/ui_readline.c | 2 |
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 */ |