summaryrefslogtreecommitdiff
path: root/rts/win32
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2011-12-09 09:53:27 +0000
committerSimon Marlow <marlowsd@gmail.com>2011-12-09 12:58:09 +0000
commit18d339146a9e068d3009865482c58d93c21f6257 (patch)
tree1183acdb9581ca93146c681e6c610deaa169bd98 /rts/win32
parentf26546bbb339296d81272b0f8127119862a34b75 (diff)
downloadhaskell-18d339146a9e068d3009865482c58d93c21f6257.tar.gz
Fix Windows build
Diffstat (limited to 'rts/win32')
-rw-r--r--rts/win32/OSThreads.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/win32/OSThreads.c b/rts/win32/OSThreads.c
index fe24babb8b..818f97b879 100644
--- a/rts/win32/OSThreads.c
+++ b/rts/win32/OSThreads.c
@@ -226,7 +226,7 @@ forkOS_createThreadWrapper ( void * entry )
{
Capability *cap;
cap = rts_lock();
- cap = rts_evalStableIO(cap, (HsStablePtr) entry, NULL);
+ rts_evalStableIO(&cap, (HsStablePtr) entry, NULL);
rts_unlock(cap);
return 0;
}