diff options
author | Damien Doligez <damien.doligez-inria.fr> | 2000-04-05 18:30:22 +0000 |
---|---|---|
committer | Damien Doligez <damien.doligez-inria.fr> | 2000-04-05 18:30:22 +0000 |
commit | 3f6a493b87dcfb9b49e22313fd5f7c321c3f77d1 (patch) | |
tree | 49cf875c6ec55e6f56c5e2546a72c501d4da75a1 /byterun/misc.c | |
parent | 3006772f8506106be60015622d67fa791797490b (diff) |
MacOS: ajout macosunix; portage bigarray et systhreads; tabs
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3042 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'byterun/misc.c')
-rw-r--r-- | byterun/misc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/byterun/misc.c b/byterun/misc.c index a32a15278..2957cd24a 100644 --- a/byterun/misc.c +++ b/byterun/misc.c @@ -160,7 +160,7 @@ char *aligned_malloc (asize_t size, int modulo, void **block) unsigned long *p0 = (void *) *block, *p1 = (void *) (aligned_mem - modulo), *p2 = (void *) (aligned_mem - modulo + size), - *p3 = (void *) (*block + size + Page_size); + *p3 = (void *) ((char *) *block + size + Page_size); for (p = p0; p < p1; p++) *p = Debug_filler_align; for (p = p1; p < p2; p++) *p = Debug_uninit_align; |