libc: Fix conversion error in isatty()
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
apio 2023-07-11 12:45:08 +02:00
parent 69f9701097
commit a51fb6a428
Signed by: apio
GPG Key ID: B8A7D06E42258954

View File

@ -473,7 +473,7 @@ extern "C"
long rc = syscall(SYS_isatty, fd);
if (rc < 0)
{
errno = -rc;
errno = (int)-rc;
return 0;
}
return rc;