reqs: fix UB passing ssize_t to format string expecting int
This commit is contained in:
parent
8ebbd50cb2
commit
db5c0e99b4
@ -1454,8 +1454,8 @@ get_request_entity(struct conn_s *connptr)
|
|||||||
ret = -1;
|
ret = -1;
|
||||||
} else {
|
} else {
|
||||||
log_message (LOG_INFO,
|
log_message (LOG_INFO,
|
||||||
"Read request entity of %d bytes",
|
"Read request entity of %ld bytes",
|
||||||
nread);
|
(long) nread);
|
||||||
ret = 0;
|
ret = 0;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user