comparison of 0 > unsigned expression is always false [-Wtautological-compare]
int vs unsigned int.
This commit is contained in:
parent
8812faf218
commit
a11446c2fb
@ -151,7 +151,7 @@ int ser_get_control_lines(int fd)
|
|||||||
|
|
||||||
int ser_set_control_lines(int fd, int state)
|
int ser_set_control_lines(int fd, int state)
|
||||||
{
|
{
|
||||||
unsigned int status;
|
int status;
|
||||||
|
|
||||||
|
|
||||||
if (0 > (status = ser_get_control_lines(fd))) {
|
if (0 > (status = ser_get_control_lines(fd))) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user