X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/f67ec4143434bb6d86c17e055e0601a38deed15a..ebc5f7ed172f242031fc644120ce45f690b619bc:/src/mc/mc_compare.cpp diff --git a/src/mc/mc_compare.cpp b/src/mc/mc_compare.cpp index 06192f23c3..a5bf48afb1 100644 --- a/src/mc/mc_compare.cpp +++ b/src/mc/mc_compare.cpp @@ -146,9 +146,9 @@ static int compare_areas_with_type(ComparisonState& state, if (type->subtype && type->subtype->type == DW_TAG_subroutine_type) return (addr_pointed1 != addr_pointed2); - if (addr_pointed1 == nullptr && addr_pointed2 == NULL) + if (addr_pointed1 == nullptr && addr_pointed2 == nullptr) return 0; - if (addr_pointed1 == nullptr || addr_pointed2 == NULL) + if (addr_pointed1 == nullptr || addr_pointed2 == nullptr) return 1; if (!state.compared_pointers.insert( std::make_pair(addr_pointed1, addr_pointed2)).second)