From: sewardj Date: Fri, 3 Aug 2001 15:05:52 +0000 (+0000) Subject: [project @ 2001-08-03 15:05:52 by sewardj] X-Git-Tag: Approximately_9120_patches~1368 X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=593c27ba9d4a5d7d7880ff7b17723da47d6d22b4 [project @ 2001-08-03 15:05:52 by sewardj] wibble: add cast to keep gcc happy. --- diff --git a/ghc/rts/Interpreter.c b/ghc/rts/Interpreter.c index ad27904..c249c76 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; }