Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
unix: fix -Wsign-compare warning in tty.c
The mode argument is an enum now and the signedness of an enum is implementation-defined when it doesn't have negative members. Cast it to int in the comparison to tty->mode because the latter is still an int. PR: libuv#134 Reviewed-by: Saúl Ibarra Corretgé <[email protected]>
- Loading branch information