aboutsummaryrefslogtreecommitdiff
path: root/lib/http.h
diff options
context:
space:
mode:
authorJay Satiro <raysatiro@yahoo.com>2016-04-12 00:37:44 -0400
committerJay Satiro <raysatiro@yahoo.com>2016-04-12 00:37:44 -0400
commit3f57880ad10d3c98891266766c4423d938ee1821 (patch)
tree1f3bc59d1ac3a2a3ec3b794fa72595a7201fa6c3 /lib/http.h
parent723f90119512fa29b8b407d296e01219c4ead04f (diff)
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
Diffstat (limited to 'lib/http.h')
-rw-r--r--lib/http.h2
1 files changed, 1 insertions, 1 deletions
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;