diff options
author | sewardj <unknown> | 2001-08-03 15:05:52 +0000 |
---|---|---|
committer | sewardj <unknown> | 2001-08-03 15:05:52 +0000 |
commit | 593c27ba9d4a5d7d7880ff7b17723da47d6d22b4 (patch) | |
tree | 8ce6ecd29604484e8320772061f4cda0cc2b6115 | |
parent | 65142ed34d17ba68f871302a5d745f4e0b92c690 (diff) | |
download | haskell-593c27ba9d4a5d7d7880ff7b17723da47d6d22b4.tar.gz |
[project @ 2001-08-03 15:05:52 by sewardj]
wibble: add cast to keep gcc happy.
-rw-r--r-- | ghc/rts/Interpreter.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ghc/rts/Interpreter.c b/ghc/rts/Interpreter.c index ad27904073..c249c767b1 100644 --- a/ghc/rts/Interpreter.c +++ b/ghc/rts/Interpreter.c @@ -5,8 +5,8 @@ * Copyright (c) 1994-2000. * * $RCSfile: Interpreter.c,v $ - * $Revision: 1.25 $ - * $Date: 2001/08/02 17:01:33 $ + * $Revision: 1.26 $ + * $Date: 2001/08/03 15:05:52 $ * ---------------------------------------------------------------------------*/ #include "Rts.h" @@ -763,7 +763,7 @@ StgThreadReturnCode interpretBCO ( Capability* cap ) } case bci_CCALL: { int o_itbl = BCO_NEXT; - void(*marshall_fn)(void*) = BCO_LIT(o_itbl); + void(*marshall_fn)(void*) = (void (*)(void*))BCO_LIT(o_itbl); marshall_fn ( (void*)(& StackWord(0) ) ); goto nextInsn; } |