From: Gabriel Corona Date: Tue, 25 Feb 2014 11:36:26 +0000 (+0100) Subject: [mc] Fix buf introduces by previous commit X-Git-Tag: v3_11~199^2~2^2~19^2~2^2^2 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/f1592d8ac81debf1de3b3a107d819515b10ef72f?hp=3b026a6cdd673b16c8c23c5c1319b12b2585adf8 [mc] Fix buf introduces by previous commit Comparing a size with a DIE tag. --- diff --git a/src/xbt/mmalloc/mm_diff.c b/src/xbt/mmalloc/mm_diff.c index d18e6ede19..58f2f75933 100644 --- a/src/xbt/mmalloc/mm_diff.c +++ b/src/xbt/mmalloc/mm_diff.c @@ -1042,7 +1042,7 @@ int compare_heap_area(void *area1, void* area2, xbt_dynar_t previous, xbt_dict_t type = xbt_dict_get_or_null(all_types, type->dw_type_id); } } - if((type->byte_size == e_dw_pointer_type) || ((type->type == e_dw_base_type) && (!strcmp(type->name, "char")))) + if((type->type == e_dw_pointer_type) || ((type->type == e_dw_base_type) && (!strcmp(type->name, "char")))) type_size = -1; else type_size = type->byte_size;