Skip to content
Snippets Groups Projects
Commit 48aefd90 authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Give cap its correct type, rather than void

parent 5d48ad27
No related branches found
No related tags found
No related merge requests found
...@@ -101,7 +101,7 @@ int main(int argc, char *argv[]) ...@@ -101,7 +101,7 @@ int main(int argc, char *argv[])
/* ToDo: want to start with a larger stack size */ /* 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); cap = rts_evalLazyIO(cap,(HaskellObj)(void *)mainIO_closure, NULL);
status = rts_getSchedStatus(cap); status = rts_getSchedStatus(cap);
taskTimeStamp(myTask()); taskTimeStamp(myTask());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment