diff options
author | Xavier Leroy <xavier.leroy@inria.fr> | 1997-09-02 13:13:33 +0000 |
---|---|---|
committer | Xavier Leroy <xavier.leroy@inria.fr> | 1997-09-02 13:13:33 +0000 |
commit | 4c8f23357d3d77ae7683a9ccb7a60ca22e231bf7 (patch) | |
tree | 7297c1c856b7c32e326815386f4596e49d45313d /byterun/compact.c | |
parent | 1517cea772058b0fcbe778d05b8b99c7e6f3b25f (diff) |
Petites erreurs de types
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1697 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'byterun/compact.c')
-rw-r--r-- | byterun/compact.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/byterun/compact.c b/byterun/compact.c index a575e3081..4b75686d5 100644 --- a/byterun/compact.c +++ b/byterun/compact.c @@ -212,9 +212,9 @@ void compact_heap (void) while (Ecolor (q) == 0) q = * (word *) q; sz = Wosize_ehd (q); for (i = 1; i < sz; i++){ - if (Field (p,i) != 0) invert_pointer_at (&(Field (p,i))); + if (Field (p,i) != 0) invert_pointer_at ((word *) &(Field (p,i))); } - invert_pointer_at (pp); + invert_pointer_at ((word *) pp); pp = &Field (p, 0); } } |