A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
further tidy the includes in MC
[simgrid.git]
/
src
/
mc
/
mc_mmu.hpp
diff --git
a/src/mc/mc_mmu.hpp
b/src/mc/mc_mmu.hpp
index
cd920ce
..
21975e6
100644
(file)
--- a/
src/mc/mc_mmu.hpp
+++ b/
src/mc/mc_mmu.hpp
@@
-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;
+ s
td::s
ize_t page_count = size >> xbt_pagebits;
if (size & (xbt_pagesize - 1))
page_count++;
return page_count;