From 48aefd90f74b4c9522eacdf9a730e50a1dfa29f9 Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Fri, 15 Dec 2006 17:25:58 +0000 Subject: [PATCH] Give cap its correct type, rather than void --- rts/Main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rts/Main.c b/rts/Main.c index 6738a1c..745d775 100644 --- a/rts/Main.c +++ b/rts/Main.c @@ -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()); -- 1.7.10.4