summaryrefslogtreecommitdiffstats
path: root/byterun/memory.c
diff options
context:
space:
mode:
authorXavier Leroy <xavier.leroy@inria.fr>2013-06-01 14:55:18 +0000
committerXavier Leroy <xavier.leroy@inria.fr>2013-06-01 14:55:18 +0000
commit3fd8ecd355ab681d1dc728b99228d61d586597f0 (patch)
tree14d164c9d36cfd70aee0809308236cabb7771c1f /byterun/memory.c
parent4b3e3c7647d7f921f16be24f2dd2f034e4f624b2 (diff)
Type error in debug builds.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13727 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'byterun/memory.c')
-rw-r--r--byterun/memory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/byterun/memory.c b/byterun/memory.c
index 775146207..e18bde45c 100644
--- a/byterun/memory.c
+++ b/byterun/memory.c
@@ -538,7 +538,7 @@ CAMLexport void caml_modify (value *fp, value val)
*/
value old;
- if (Is_young(fp)) {
+ if (Is_young((value)fp)) {
/* The modified object resides in the minor heap.
Conditions 1 and 2 cannot occur. */
*fp = val;