From b3fbebed552fdce1c4d65cbb2d26dae56f53fd9f Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Sat, 9 Nov 2019 18:00:46 +0900 Subject: [PATCH] Use correct type --- src/h2load_quic.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/h2load_quic.cc b/src/h2load_quic.cc index 3398cb18..2a9b3952 100644 --- a/src/h2load_quic.cc +++ b/src/h2load_quic.cc @@ -470,7 +470,7 @@ void Client::quic_close_connection() { } std::array buf; - ssize_t nwrite; + ngtcp2_ssize nwrite; ngtcp2_path_storage ps; ngtcp2_path_storage_zero(&ps); @@ -650,7 +650,7 @@ int Client::write_quic() { } } - ssize_t ndatalen; + ngtcp2_ssize ndatalen; auto v = vec.data(); auto vcnt = static_cast(sveccnt);