* fhandler_tty.cc (fhandler_tty_slave:tcflush): Use signed comparison.
This commit is contained in:
@@ -1048,7 +1048,7 @@ fhandler_tty_slave::tcflush (int queue)
|
||||
{
|
||||
size_t len = UINT_MAX;
|
||||
read (NULL, len);
|
||||
ret = len >= 0;
|
||||
ret = ((int) len) >= 0;
|
||||
}
|
||||
if (queue == TCOFLUSH || queue == TCIOFLUSH)
|
||||
{
|
||||
|
Reference in New Issue
Block a user