mirror of
https://github.com/boostorg/beast.git
synced 2025-07-30 04:47:29 +02:00
@ -1,3 +1,7 @@
|
|||||||
|
* Fix `max` compile error
|
||||||
|
|
||||||
|
--------------------------------------------------------------------------------
|
||||||
|
|
||||||
Version 296:
|
Version 296:
|
||||||
|
|
||||||
* Remove buffers_adapter.hpp (API Change)
|
* Remove buffers_adapter.hpp (API Change)
|
||||||
|
@ -270,7 +270,7 @@ seek(std::uint64_t offset, error_code& ec)
|
|||||||
ec = make_error_code(errc::bad_file_descriptor);
|
ec = make_error_code(errc::bad_file_descriptor);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if(offset > static_cast<std::uint64_t>(std::numeric_limits<long>::max()))
|
if(offset > static_cast<std::uint64_t>((std::numeric_limits<long>::max)()))
|
||||||
{
|
{
|
||||||
ec = make_error_code(errc::invalid_seek);
|
ec = make_error_code(errc::invalid_seek);
|
||||||
return;
|
return;
|
||||||
|
Reference in New Issue
Block a user