Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
48aefd90
Commit
48aefd90
authored
Dec 15, 2006
by
Ian Lynagh
Browse files
Give cap its correct type, rather than void
parent
5d48ad27
Changes
1
Show whitespace changes
Inline
Side-by-side
rts/Main.c
View file @
48aefd90
...
...
@@ -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
());
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment