Use correct type

This commit is contained in:
Tatsuhiro Tsujikawa 2019-11-09 18:00:46 +09:00
parent 4621f88441
commit b3fbebed55
1 changed files with 2 additions and 2 deletions

View File

@ -470,7 +470,7 @@ void Client::quic_close_connection() {
} }
std::array<uint8_t, 1500> buf; std::array<uint8_t, 1500> buf;
ssize_t nwrite; ngtcp2_ssize nwrite;
ngtcp2_path_storage ps; ngtcp2_path_storage ps;
ngtcp2_path_storage_zero(&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 v = vec.data();
auto vcnt = static_cast<size_t>(sveccnt); auto vcnt = static_cast<size_t>(sveccnt);