From: sof Date: Tue, 4 May 1999 08:58:18 +0000 (+0000) Subject: [project @ 1999-05-04 08:58:18 by sof] X-Git-Tag: Approximately_9120_patches~6263 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=8b41b28f26d4c98d52e12fcc16c91416f827a4cc;p=ghc-hetmet.git [project @ 1999-05-04 08:58:18 by sof] integer2Int# isn't sign preserving any longer, but modulo maxBound --- diff --git a/ghc/includes/PrimOps.h b/ghc/includes/PrimOps.h index ba62f8b..c952cbf 100644 --- a/ghc/includes/PrimOps.h +++ b/ghc/includes/PrimOps.h @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * $Id: PrimOps.h,v 1.26 1999/04/27 12:32:15 simonm Exp $ + * $Id: PrimOps.h,v 1.27 1999/05/04 08:58:18 sof Exp $ * * (c) The GHC Team, 1998-1999 * @@ -312,7 +312,7 @@ typedef union { arg._mp_alloc = ((StgArrWords *)da)->words; \ arg._mp_d = (unsigned long int *) (BYTE_ARR_CTS(da)); \ \ - (r) = RET_PRIM_STGCALL1(I_,mpz_get_si,&arg); \ + (r) = RET_PRIM_STGCALL1(I_,mpz_get_ui,&arg); \ } #define integer2Wordzh(r, sa,da) \