Enable -Weverything, fix a ton of bugs.
This commit is contained in:
@@ -21,7 +21,7 @@ ssize_t buf_fill(struct buf *buf, int fd) {
|
||||
if (in <= 0) {
|
||||
return in;
|
||||
}
|
||||
buf->length += in;
|
||||
buf->length += (size_t) in;
|
||||
return in;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user