safe_write: fix unsigned vs. signed comparison
Michael
This commit is contained in:
parent
2fff622819
commit
b450ad76ff
@ -56,7 +56,7 @@ safe_write (int fd, const char *buffer, size_t count)
|
||||
return -errno;
|
||||
}
|
||||
|
||||
if (len == bytestosend)
|
||||
if ((size_t)len == bytestosend)
|
||||
break;
|
||||
|
||||
buffer += len;
|
||||
|
Loading…
Reference in New Issue
Block a user