From: sof Date: Mon, 10 May 1999 09:26:41 +0000 (+0000) Subject: [project @ 1999-05-10 09:26:41 by sof] X-Git-Tag: Approximately_9120_patches~6241 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=94e0fc0b3d90dd220d72d8ff109d20e9904ada4e;hp=9dbc74ba4aea2b544ca889305a177f3f3921358f;p=ghc-hetmet.git [project @ 1999-05-10 09:26:41 by sof] integer2Int#, take 3 --- diff --git a/ghc/includes/PrimOps.h b/ghc/includes/PrimOps.h index 9c3e259..6b793c7 100644 --- a/ghc/includes/PrimOps.h +++ b/ghc/includes/PrimOps.h @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * $Id: PrimOps.h,v 1.28 1999/05/07 15:42:49 sof Exp $ + * $Id: PrimOps.h,v 1.29 1999/05/10 09:26:41 sof Exp $ * * (c) The GHC Team, 1998-1999 * @@ -317,9 +317,9 @@ typedef union { (r) = \ ( arg._mp_size == 0 ) ? \ 0 : \ - ( arg._mp_size < 0 && arg._mp_d[0] > 0x80000000 ) ? \ - -(I_)arg._mp_d[0] : \ - (I_)arg._mp_d[0]; \ + (( arg._mp_size < 0 && arg._mp_d[0] != 0x80000000 ) ? \ + -(I_)arg._mp_d[0] : \ + (I_)arg._mp_d[0]); \ } #define integer2Wordzh(r, sa,da) \