diff --git a/include/mio/detail/mmap.ipp b/include/mio/detail/mmap.ipp index d38a1b8..0b89178 100644 --- a/include/mio/detail/mmap.ipp +++ b/include/mio/detail/mmap.ipp @@ -124,7 +124,7 @@ file_handle_type open_file(const String& path, const access_mode mode, return handle; } -inline int64_t query_file_size(file_handle_type handle, std::error_code& error) +inline size_t query_file_size(file_handle_type handle, std::error_code& error) { error.clear(); #ifdef _WIN32