From f1592d8ac81debf1de3b3a107d819515b10ef72f Mon Sep 17 00:00:00 2001 From: Gabriel Corona Date: Tue, 25 Feb 2014 12:36:26 +0100 Subject: [PATCH] [mc] Fix buf introduces by previous commit Comparing a size with a DIE tag. --- src/xbt/mmalloc/mm_diff.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.20.1