diff options
Diffstat (limited to 'math/nickle/patches/patch-aa')
-rw-r--r-- | math/nickle/patches/patch-aa | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/math/nickle/patches/patch-aa b/math/nickle/patches/patch-aa index 1ffeb7e63ef..0b380a78286 100644 --- a/math/nickle/patches/patch-aa +++ b/math/nickle/patches/patch-aa @@ -1,4 +1,4 @@ -$NetBSD: patch-aa,v 1.1.1.1 2007/02/22 20:35:38 drochner Exp $ +$NetBSD: patch-aa,v 1.2 2007/03/13 10:55:12 drochner Exp $ --- value.h.orig 2007-02-22 20:27:04.000000000 +0100 +++ value.h @@ -17,12 +17,3 @@ $NetBSD: patch-aa,v 1.1.1.1 2007/02/22 20:35:38 drochner Exp $ /* * An int fits in a 'nickle int' if the top two bits * are the same. There are four initial values: -@@ -328,7 +328,7 @@ extern ValueRep ForeignRep; - * - * So, the two 'naughty' ones end up with the high bit set - */ --#define NICKLE_INT_CARRIED(r) (((r) + NICKLE_INT_SIGN) & NICKLE_INT_CARRY) -+#define NICKLE_INT_CARRIED(r) (((unsigned)(r) + NICKLE_INT_SIGN) & NICKLE_INT_CARRY) - - #define MAX_NICKLE_INT ((int) ((unsigned) NICKLE_INT_SIGN - 1)) - #define MIN_NICKLE_INT (-MAX_NICKLE_INT - 1) |