File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1583,7 +1583,7 @@ class winhttp_client final : public _http_client_communicator
1583
1583
else if (length > p_request_context->m_remaining_to_write )
1584
1584
{
1585
1585
// The stream grew, but we won't
1586
- length = p_request_context->m_remaining_to_write ;
1586
+ length = static_cast < size_t >( p_request_context->m_remaining_to_write ) ;
1587
1587
}
1588
1588
1589
1589
do_compress (pplx::task_from_result<size_t >(length)).then (after_read);
Original file line number Diff line number Diff line change @@ -319,7 +319,7 @@ size_t http_msg_base::_get_stream_length()
319
319
auto offset = stream.tell ();
320
320
auto end = stream.seek (0 , std::ios_base::end);
321
321
stream.seek (offset);
322
- return static_cast <utility:: size64_t >(end - offset);
322
+ return static_cast <size_t >(end - offset);
323
323
}
324
324
325
325
return std::numeric_limits<size_t >::max ();
You can’t perform that action at this time.
0 commit comments