summaryrefslogtreecommitdiffstats
path: root/byterun/weak.c
diff options
context:
space:
mode:
authorDamien Doligez <damien.doligez-inria.fr>2002-01-23 17:49:50 +0000
committerDamien Doligez <damien.doligez-inria.fr>2002-01-23 17:49:50 +0000
commitb47d2503600b377650abeec55fffcac89bdce615 (patch)
tree365ef4e7e233f5beb9aa181427c8550518bc2018 /byterun/weak.c
parentafda9df9c5f2aa217feb7f28b50905333c82cacb (diff)
divers bugs
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4302 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'byterun/weak.c')
-rw-r--r--byterun/weak.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/byterun/weak.c b/byterun/weak.c
index a006ee753..846669c11 100644
--- a/byterun/weak.c
+++ b/byterun/weak.c
@@ -94,7 +94,7 @@ CAMLprim value weak_get_copy (value ar, value n)
if (Tag_val (v) < No_scan_tag){
mlsize_t i;
for (i = 0; i < Wosize_val (v); i++){
- Store_field (elt, i, Field (v, i));
+ Modify (&Field (elt, i), Field (v, i));
}
}else{
memmove (Bp_val (elt), Bp_val (v), Bosize_val (v));