diff options
author | rofl0r <rofl0r@users.noreply.github.com> | 2020-10-19 20:30:10 +0100 |
---|---|---|
committer | rofl0r <rofl0r@users.noreply.github.com> | 2020-10-19 20:30:10 +0100 |
commit | db5c0e99b433ae75c6112e10a384082d35fb5918 (patch) | |
tree | d0890df8f0728b294823b0d8a7d97deb6b05fbe9 | |
parent | 8ebbd50cb2d5c20163272fe081fc58329fd896bd (diff) |
reqs: fix UB passing ssize_t to format string expecting int
-rw-r--r-- | src/reqs.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1454,8 +1454,8 @@ get_request_entity(struct conn_s *connptr) ret = -1; } else { log_message (LOG_INFO, - "Read request entity of %d bytes", - nread); + "Read request entity of %ld bytes", + (long) nread); ret = 0; } } else { |