mirror of
https://github.com/pygos/init.git
synced 2024-11-25 12:30: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)
|
char *rdline(int fd, int argc, const char *const *argv)
|
||||||
{
|
{
|
||||||
rdline_t rd;
|
rdline_t rd;
|
||||||
int ret;
|
int c, ret;
|
||||||
char c;
|
|
||||||
|
|
||||||
memset(&rd, 0, sizeof(rd));
|
memset(&rd, 0, sizeof(rd));
|
||||||
rd.fd = fd;
|
rd.fd = fd;
|
||||||
|
|
Loading…
Reference in a new issue