X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/b923f24fcb86571011626426f577fe6322094bb3..3c81f0e12c0996283144a5fe61cfb4c748928b0b:/src/mc/mc_mmu.hpp diff --git a/src/mc/mc_mmu.hpp b/src/mc/mc_mmu.hpp index cd920ce34b..15f07181ff 100644 --- a/src/mc/mc_mmu.hpp +++ b/src/mc/mc_mmu.hpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2014-2019. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2014-2022. The SimGrid Team. All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ @@ -35,7 +35,7 @@ static int chunk_size() */ static XBT_ALWAYS_INLINE std::size_t chunk_count(std::size_t size) { - size_t page_count = size >> xbt_pagebits; + std::size_t page_count = size >> xbt_pagebits; if (size & (xbt_pagesize - 1)) page_count++; return page_count;