From 3cb70f88f52fc049d17756afab3c40846fb89fb6 Mon Sep 17 00:00:00 2001 From: cryptozoidberg Date: Wed, 11 Mar 2020 02:34:41 +0100 Subject: [PATCH] attempt to fix broken build --- contrib/epee/include/net/http_client.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/contrib/epee/include/net/http_client.h b/contrib/epee/include/net/http_client.h index 0cfda4b5..d25468c8 100644 --- a/contrib/epee/include/net/http_client.h +++ b/contrib/epee/include/net/http_client.h @@ -38,9 +38,9 @@ #include "net_helper.h" #include "http_client_base.h" -#ifdef HTTP_ENABLE_GZIP +//#ifdef HTTP_ENABLE_GZIP #include "gzip_encoding.h" -#endif +//#endif #include "string_tools.h" #include "reg_exp_definer.h" @@ -500,7 +500,7 @@ using namespace std; } //--------------------------------------------------------------------------- inline - bool get_len_from_chunk_head(const std::string &chunk_head, size_t& result_size) + bool get_len_from_chunk_head(const std::string &chunk_head, uint64_t& result_size) { std::stringstream str_stream; str_stream << std::hex; @@ -511,7 +511,7 @@ using namespace std; } //--------------------------------------------------------------------------- inline - bool get_chunk_head(std::string& buff, size_t& chunk_size, bool& is_matched) + bool get_chunk_head(std::string& buff, uint64_t& chunk_size, bool& is_matched) { is_matched = false; size_t offset = 0;