Type error in debug builds.

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13727 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
master
Xavier Leroy 2013-06-01 14:55:18 +00:00
parent 4b3e3c7647
commit 3fd8ecd355
1 changed files with 1 additions and 1 deletions

View File

@ -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;