Commit 48aefd90 authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Give cap its correct type, rather than void

parent 5d48ad27
......@@ -101,7 +101,7 @@ int main(int argc, char *argv[])
/* ToDo: want to start with a larger stack size */
{
void *cap = rts_lock();
Capability *cap = rts_lock();
cap = rts_evalLazyIO(cap,(HaskellObj)(void *)mainIO_closure, NULL);
status = rts_getSchedStatus(cap);
taskTimeStamp(myTask());
......
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