Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[mc] Fix buf introduces by previous commit
authorGabriel Corona <gabriel.corona@loria.fr>
Tue, 25 Feb 2014 11:36:26 +0000 (12:36 +0100)
committerGabriel Corona <gabriel.corona@loria.fr>
Tue, 25 Feb 2014 11:36:26 +0000 (12:36 +0100)
Comparing a size with a DIE tag.

src/xbt/mmalloc/mm_diff.c

index d18e6ed..58f2f75 100644 (file)
@@ -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;