diff --git a/ghc/includes/SchedAPI.h b/ghc/includes/SchedAPI.h index 26dac54e7610635881fd2a48c2cbe90ed74dc6b3..014f906e3440c1b9e8c74fb86317ba2e8d7c5922 100644 --- a/ghc/includes/SchedAPI.h +++ b/ghc/includes/SchedAPI.h @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * $Id: SchedAPI.h,v 1.3 1999/05/21 14:46:21 sof Exp $ + * $Id: SchedAPI.h,v 1.4 1999/06/03 08:09:31 sof Exp $ * * (c) The GHC Team 1998 * @@ -67,7 +67,7 @@ createStrictIOThread(nat stack_size, StgClosure *closure) { StgTSO *t; t = createThread(stack_size); pushClosure(t,closure); - pushClosure(t,&forceIO_closure); + pushClosure(t,(StgClosure*)&forceIO_closure); return t; }