diff --git a/lib/nghttp2-1.62.1/lib/includes/nghttp2/nghttp2.h b/lib/nghttp2-1.62.1/lib/includes/nghttp2/nghttp2.h index 92c3ccc6e48..cc402af7b30 100644 --- a/lib/nghttp2-1.62.1/lib/includes/nghttp2/nghttp2.h +++ b/lib/nghttp2-1.62.1/lib/includes/nghttp2/nghttp2.h @@ -972,7 +972,7 @@ typedef enum { * Returning :enum:`nghttp2_error.NGHTTP2_ERR_CALLBACK_FAILURE` will * signal the entire session failure. */ -typedef ssize_t (*nghttp2_data_source_read_callback)( +typedef nghttp2_ssize (*nghttp2_data_source_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);