X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/a07cd49f9305465488d9703ac069c7ee236ba3ee..0bb08c80b2bff9de24524dc98f04cd145dfc93c0:/src/mc/compare.cpp diff --git a/src/mc/compare.cpp b/src/mc/compare.cpp index ab4bc29dc1..4cdf76a96c 100644 --- a/src/mc/compare.cpp +++ b/src/mc/compare.cpp @@ -344,9 +344,9 @@ int mmalloc_compare_heap( // This is in snapshot do not use them directly: const malloc_info* heapinfos1 = snapshot1->read( - (std::uint64_t)heapinfo_address, simgrid::mc::ProcessIndexMissing); + RemotePtr((std::uint64_t)heapinfo_address), simgrid::mc::ProcessIndexMissing); const malloc_info* heapinfos2 = snapshot2->read( - (std::uint64_t)heapinfo_address, simgrid::mc::ProcessIndexMissing); + RemotePtr((std::uint64_t)heapinfo_address), simgrid::mc::ProcessIndexMissing); while (i1 < state.heaplimit) {