diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2017-10-01 14:03:04 +0300 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2017-10-01 14:03:04 +0300 |
commit | 6c49371c2b1e31abef4251bf4dbc514d7da53bdd (patch) | |
tree | c8725316461102a8383de7a450f0e4a32d737cb0 | |
parent | db6a1ba7af9ff0b1471f2ab3c3ad62222a64a635 (diff) | |
download | libmicrohttpd-6c49371c2b1e31abef4251bf4dbc514d7da53bdd.tar.gz libmicrohttpd-6c49371c2b1e31abef4251bf4dbc514d7da53bdd.zip |
sendfile_adapter(): fixed wrong type of return variable
-rw-r--r-- | src/microhttpd/connection.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c index b30c6d1b..daa49824 100644 --- a/src/microhttpd/connection.c +++ b/src/microhttpd/connection.c | |||
@@ -229,7 +229,7 @@ send_param_adapter (struct MHD_Connection *connection, | |||
229 | static ssize_t | 229 | static ssize_t |
230 | sendfile_adapter (struct MHD_Connection *connection) | 230 | sendfile_adapter (struct MHD_Connection *connection) |
231 | { | 231 | { |
232 | int ret; | 232 | ssize_t ret; |
233 | const int file_fd = connection->response->fd; | 233 | const int file_fd = connection->response->fd; |
234 | uint64_t left; | 234 | uint64_t left; |
235 | uint64_t offsetu64; | 235 | uint64_t offsetu64; |