mirror of
https://github.com/pygos/init.git
synced 2024-11-25 04:20:42 +01:00
Fix: sometimes, char is unsigned by default
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
This commit is contained in:
parent
00daf470d1
commit
212d3022e7
1 changed files with 1 additions and 2 deletions
|
@ -120,8 +120,7 @@ static int rdline_append(rdline_t *t, int c)
|
|||
char *rdline(int fd, int argc, const char *const *argv)
|
||||
{
|
||||
rdline_t rd;
|
||||
int ret;
|
||||
char c;
|
||||
int c, ret;
|
||||
|
||||
memset(&rd, 0, sizeof(rd));
|
||||
rd.fd = fd;
|
||||
|
|
Loading…
Reference in a new issue