X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/fd734700103914cbf09f9bb3db2aaf5a09ed768e..a2a013c0e4ca407feeb7b3d0e85abba7acae2532:/src/mc/compare.cpp diff --git a/src/mc/compare.cpp b/src/mc/compare.cpp index ee31b803f9..1596039cdc 100644 --- a/src/mc/compare.cpp +++ b/src/mc/compare.cpp @@ -1016,7 +1016,7 @@ int compare_heap_area(simgrid::mc::StateComparator& state, int process_index, int new_size1 = -1, new_size2 = -1; simgrid::mc::Type *new_type1 = nullptr, *new_type2 = nullptr; - int match_pairs = 0; + bool match_pairs = false; // This is the address of std_heap->heapinfo in the application process: void* heapinfo_address = &((xbt_mheap_t) process->heap_address)->heapinfo; @@ -1031,7 +1031,7 @@ int compare_heap_area(simgrid::mc::StateComparator& state, int process_index, simgrid::mc::HeapLocationPairs current; if (previous == nullptr) { previous = ¤t; - match_pairs = 1; + match_pairs = true; } // Get block number: