mirror of
https://github.com/vimpunk/mio.git
synced 2025-12-06 16:57:01 +08:00
Update mmap.ipp
This commit is contained in:
parent
c7c7163a82
commit
d35a6db82a
@ -318,7 +318,7 @@ void basic_mmap<AccessMode, ByteT>::map(const handle_type handle,
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
const auto file_size = detail::query_file_size(handle, error);
|
const size_t file_size = detail::query_file_size(handle, error);
|
||||||
if(error)
|
if(error)
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user