Commit 5d9f7faf authored by Simon Marlow's avatar Simon Marlow
Browse files

warning fix

parent 15f6c4cf
......@@ -772,7 +772,7 @@ dirty_MUT_VAR(StgRegTable *reg, StgClosure *p)
bdescr *bd;
if (p->header.info == &stg_MUT_VAR_CLEAN_info) {
p->header.info = &stg_MUT_VAR_DIRTY_info;
bd = Bdescr(p);
bd = Bdescr((StgPtr)p);
if (bd->gen_no > 0) recordMutableCap(p,cap,bd->gen_no);
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment