Give cap its correct type, rather than void
authorIan Lynagh <igloo@earth.li>
Fri, 15 Dec 2006 17:25:58 +0000 (17:25 +0000)
committerIan Lynagh <igloo@earth.li>
Fri, 15 Dec 2006 17:25:58 +0000 (17:25 +0000)
rts/Main.c

index 6738a1c..745d775 100644 (file)
@@ -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());