diff options
Diffstat (limited to 'lang/gcc5/patches/patch-libdecnumber_decNumber.c')
-rw-r--r-- | lang/gcc5/patches/patch-libdecnumber_decNumber.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lang/gcc5/patches/patch-libdecnumber_decNumber.c b/lang/gcc5/patches/patch-libdecnumber_decNumber.c new file mode 100644 index 00000000000..0637f8aff0c --- /dev/null +++ b/lang/gcc5/patches/patch-libdecnumber_decNumber.c @@ -0,0 +1,13 @@ +$NetBSD: patch-libdecnumber_decNumber.c,v 1.1 2015/07/16 12:03:36 ryoon Exp $ + +--- libdecnumber/decNumber.c.orig 2013-08-14 08:42:04.000000000 +0000 ++++ libdecnumber/decNumber.c +@@ -770,7 +770,7 @@ decNumber * decNumberAbs(decNumber *res, + decNumber * decNumberAdd(decNumber *res, const decNumber *lhs, + const decNumber *rhs, decContext *set) { + uInt status=0; /* accumulator */ +- decAddOp(res, lhs, rhs, set, 0, &status); ++ decAddOp(res, lhs, rhs, set, (uByte)0, &status); + if (status!=0) decStatus(res, status, set); + #if DECCHECK + decCheckInexact(res, set); |