1
0
Fork 0
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:
David Oberhollenzer 2018-04-05 20:24:22 +02:00
parent 00daf470d1
commit 212d3022e7

View file

@ -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;