diff options
Diffstat (limited to '')
-rw-r--r-- | src/HttpServer.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/HttpServer.h b/src/HttpServer.h index 00fd6bf..348f85a 100644 --- a/src/HttpServer.h +++ b/src/HttpServer.h @@ -245,9 +245,10 @@ private: const Config *config_; }; -ssize_t file_read_callback(nghttp2_session *session, int32_t stream_id, - uint8_t *buf, size_t length, uint32_t *data_flags, - nghttp2_data_source *source, void *user_data); +nghttp2_ssize file_read_callback(nghttp2_session *session, int32_t stream_id, + uint8_t *buf, size_t length, + uint32_t *data_flags, + nghttp2_data_source *source, void *user_data); } // namespace nghttp2 |