Просмотр исходного кода

sendfile_adapter(): fixed wrong type of return variable

Evgeny Grin (Karlson2k) 8 лет назад
Родитель
Сommit
6c49371c2b
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/microhttpd/connection.c

+ 1 - 1
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;