summaryrefslogtreecommitdiffstats
path: root/byterun/memory.c
diff options
context:
space:
mode:
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;