Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[SIMIX] Remove SMPI-specific segment_index notion from the Actor class
[simgrid.git] / src / mc / compare.cpp
index ab4bc29dc1a767d7299d3214915205ddde518ef2..4cdf76a96cf4d338e794b1b6400851a902b8fa44 100644 (file)
@@ -344,9 +344,9 @@ int mmalloc_compare_heap(
 
   // This is in snapshot do not use them directly:
   const malloc_info* heapinfos1 = snapshot1->read<malloc_info*>(
-    (std::uint64_t)heapinfo_address, simgrid::mc::ProcessIndexMissing);
+      RemotePtr<malloc_info*>((std::uint64_t)heapinfo_address), simgrid::mc::ProcessIndexMissing);
   const malloc_info* heapinfos2 = snapshot2->read<malloc_info*>(
-    (std::uint64_t)heapinfo_address, simgrid::mc::ProcessIndexMissing);
+      RemotePtr<malloc_info*>((std::uint64_t)heapinfo_address), simgrid::mc::ProcessIndexMissing);
 
   while (i1 < state.heaplimit) {