Give cap its correct type, rather than void
[ghc-hetmet.git] / 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());