Update mmap.ipp

This commit is contained in:
Antonio Mallia 2019-01-30 18:13:19 -05:00 committed by GitHub
parent c7c7163a82
commit d35a6db82a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -318,7 +318,7 @@ void basic_mmap<AccessMode, ByteT>::map(const handle_type handle,
return;
}
const auto file_size = detail::query_file_size(handle, error);
const size_t file_size = detail::query_file_size(handle, error);
if(error)
{
return;