summaryrefslogtreecommitdiff
path: root/ghc/rts/win32
diff options
context:
space:
mode:
authorSimon Marlow <simonmar@microsoft.com>2006-03-16 14:49:14 +0000
committerSimon Marlow <simonmar@microsoft.com>2006-03-16 14:49:14 +0000
commitb551e40cbabc0eb30df13771d7d55c6b6f4e3ab0 (patch)
tree850cf5773e233eadb7221cd5ce029d5c3188b833 /ghc/rts/win32
parent86f2671b37507012692a53c2fe45357b0988cb40 (diff)
downloadhaskell-b551e40cbabc0eb30df13771d7d55c6b6f4e3ab0.tar.gz
fix a warning
Diffstat (limited to 'ghc/rts/win32')
-rw-r--r--ghc/rts/win32/ConsoleHandler.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ghc/rts/win32/ConsoleHandler.c b/ghc/rts/win32/ConsoleHandler.c
index 413e13cc27..d7096db632 100644
--- a/ghc/rts/win32/ConsoleHandler.c
+++ b/ghc/rts/win32/ConsoleHandler.c
@@ -182,7 +182,7 @@ void markSignalHandlers (evac_fn evac)
{
if (console_handler >= 0) {
StgPtr p = deRefStablePtr((StgStablePtr)console_handler);
- evac((StgClosure**)&p);
+ evac((StgClosure**)(void *)&p);
}
}