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/urldata.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/urldata.h') diff --git a/lib/urldata.h b/lib/urldata.h index 78593eecc..0efb65160 100644 --- a/lib/urldata.h +++ b/lib/urldata.h @@ -1314,9 +1314,9 @@ struct UrlState { curl_off_t infilesize; /* size of file to upload, -1 means unknown. Copied from set.filesize at start of operation */ - int drain; /* Increased when this stream has data to read, even if its - socket not necessarily is readable. Decreased when - checked. */ + size_t drain; /* Increased when this stream has data to read, even if its + socket is not necessarily is readable. Decreased when + checked. */ bool done; /* set to FALSE when Curl_do() is called and set to TRUE when Curl_done() is called, to prevent Curl_done() to get invoked twice when the multi interface is used. */ -- cgit v1.2.3