From d35a6db82a0eabb0c283aaf09fe162b89e146959 Mon Sep 17 00:00:00 2001 From: Antonio Mallia Date: Wed, 30 Jan 2019 18:13:19 -0500 Subject: [PATCH] Update mmap.ipp --- include/mio/detail/mmap.ipp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/mio/detail/mmap.ipp b/include/mio/detail/mmap.ipp index d38a1b8..69f070e 100644 --- a/include/mio/detail/mmap.ipp +++ b/include/mio/detail/mmap.ipp @@ -318,7 +318,7 @@ void basic_mmap::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;