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
Update mmalloc to compile with paranoid flags used in simgrid
[simgrid.git]
/
src
/
xbt
/
mmalloc
/
mmemalign.c
diff --git
a/src/xbt/mmalloc/mmemalign.c
b/src/xbt/mmalloc/mmemalign.c
index
595cb6c
..
584f82c
100644
(file)
--- a/
src/xbt/mmalloc/mmemalign.c
+++ b/
src/xbt/mmalloc/mmemalign.c
@@
-55,7
+55,7
@@
mmemalign (md, alignment, size)
mdp -> aligned_blocks = l;
}
l -> exact = result;
- result = l -> aligned = (
PTR
) result + alignment - adj;
+ result = l -> aligned = (
char*
) result + alignment - adj;
}
}
return (result);