A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rename some symbols around Link::isShared to make their purpose clear
[simgrid.git]
/
teshsuite
/
xbt
/
mallocator
/
mallocator_test.c
diff --git
a/teshsuite/xbt/mallocator/mallocator_test.c
b/teshsuite/xbt/mallocator/mallocator_test.c
index
58166bf
..
6eda006
100644
(file)
--- a/
teshsuite/xbt/mallocator/mallocator_test.c
+++ b/
teshsuite/xbt/mallocator/mallocator_test.c
@@
-27,7
+27,7
@@
static void pprint_elems(xbt_dynar_t elems) {
element_t elem;
printf("Elems:");
xbt_dynar_foreach(elems, iter, elem) {
- printf(" (%d,%
ld)", elem->value, base_mallocator-elem
);
+ printf(" (%d,%
d)", elem->value, (int)(base_mallocator-elem)/(int)sizeof(int)
);
}
printf("\n");
}