commit 6c49371c2b1e31abef4251bf4dbc514d7da53bdd
parent db6a1ba7af9ff0b1471f2ab3c3ad62222a64a635
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date: Sun, 1 Oct 2017 14:03:04 +0300
sendfile_adapter(): fixed wrong type of return variable
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c
@@ -229,7 +229,7 @@ send_param_adapter (struct MHD_Connection *connection,
static ssize_t
sendfile_adapter (struct MHD_Connection *connection)
{
- int ret;
+ ssize_t ret;
const int file_fd = connection->response->fd;
uint64_t left;
uint64_t offsetu64;