From 593c27ba9d4a5d7d7880ff7b17723da47d6d22b4 Mon Sep 17 00:00:00 2001 From: sewardj Date: Fri, 3 Aug 2001 15:05:52 +0000 Subject: [PATCH] [project @ 2001-08-03 15:05:52 by sewardj] wibble: add cast to keep gcc happy. --- ghc/rts/Interpreter.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; } -- 1.7.10.4