Merge pull request #7 from ksherlock/patch-2
comparison of 0 > unsigned expression is always false
This commit is contained in:
commit
2e66f37e3b
@ -151,7 +151,7 @@ int ser_get_control_lines(int fd)
|
||||
|
||||
int ser_set_control_lines(int fd, int state)
|
||||
{
|
||||
unsigned int status;
|
||||
int status;
|
||||
|
||||
|
||||
if (0 > (status = ser_get_control_lines(fd))) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user