Type error in debug builds.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13727 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02master
parent
4b3e3c7647
commit
3fd8ecd355
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue