libc: Fix conversion error in isatty()
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
69f9701097
commit
a51fb6a428
@ -473,7 +473,7 @@ extern "C"
|
||||
long rc = syscall(SYS_isatty, fd);
|
||||
if (rc < 0)
|
||||
{
|
||||
errno = -rc;
|
||||
errno = (int)-rc;
|
||||
return 0;
|
||||
}
|
||||
return rc;
|
||||
|
Loading…
Reference in New Issue
Block a user