From 8b41b28f26d4c98d52e12fcc16c91416f827a4cc Mon Sep 17 00:00:00 2001 From: sof Date: Tue, 4 May 1999 08:58:18 +0000 Subject: [PATCH] [project @ 1999-05-04 08:58:18 by sof] integer2Int# isn't sign preserving any longer, but modulo maxBound --- ghc/includes/PrimOps.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) \ -- 1.7.10.4