diff --git a/src/node_http2_core-inl.h b/src/node_http2_core-inl.h index 2bca07b92f..717d075fab 100644 --- a/src/node_http2_core-inl.h +++ b/src/node_http2_core-inl.h @@ -134,7 +134,7 @@ inline void Nghttp2Session::HandleGoawayFrame(const nghttp2_frame* frame) { inline void Nghttp2Session::SendPendingData() { const uint8_t* data; ssize_t len = 0; - ssize_t ncopy = 0; + size_t ncopy = 0; uv_buf_t buf; AllocateSend(SEND_BUFFER_RECOMMENDED_SIZE, &buf); while (nghttp2_session_want_write(session_)) {