From 3f57880ad10d3c98891266766c4423d938ee1821 Mon Sep 17 00:00:00 2001 From: Jay Satiro Date: Tue, 12 Apr 2016 00:37:44 -0400 Subject: http2: Use size_t type for data drain count Ref: https://github.com/curl/curl/issues/659 Ref: https://github.com/curl/curl/pull/663 --- lib/http.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/http.h') diff --git a/lib/http.h b/lib/http.h index 8aae35206..981472e07 100644 --- a/lib/http.h +++ b/lib/http.h @@ -214,7 +214,7 @@ struct http_conn { them for both cases. */ int32_t pause_stream_id; /* stream ID which paused nghttp2_session_mem_recv */ - int drain_total; /* sum of all stream's UrlState.drain */ + size_t drain_total; /* sum of all stream's UrlState.drain */ /* this is a hash of all individual streams (SessionHandle structs) */ struct h2settings settings; -- cgit v1.2.3