projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
5d48ad2
)
Give cap its correct type, rather than void
author
Ian Lynagh
<igloo@earth.li>
Fri, 15 Dec 2006 17:25:58 +0000
(17:25 +0000)
committer
Ian Lynagh
<igloo@earth.li>
Fri, 15 Dec 2006 17:25:58 +0000
(17:25 +0000)
rts/Main.c
patch
|
blob
|
history
diff --git
a/rts/Main.c
b/rts/Main.c
index
6738a1c
..
745d775
100644
(file)
--- 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());