From: Gabriel Corona Date: Tue, 8 Jul 2014 10:54:59 +0000 (+0200) Subject: [mc] Fix check on type name X-Git-Tag: v3_12~890^2~1^2~4^2~23^2 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/cf2399101db5f0de750f4119f2377e8985998d25 [mc] Fix check on type name The name was changed to include 'struct/class'. --- diff --git a/src/mc/mc_diff.c b/src/mc/mc_diff.c index 7357d36598..e68d72e843 100644 --- a/src/mc/mc_diff.c +++ b/src/mc/mc_diff.c @@ -1292,7 +1292,7 @@ int compare_heap_area(void *area1, void *area2, mc_snapshot_t snapshot1, if (type_size != -1) { if (type_size != state->heapinfo1[block1].busy_block.busy_size && type_size != state->heapinfo2[block2].busy_block.busy_size - && type->name != NULL && !strcmp(type->name, "s_smx_context")) { + && type->name != NULL && !strcmp(type->name, "struct s_smx_context")) { if (match_pairs) { match_equals(state, previous); xbt_dynar_free(&previous);