1
2
3
4
5
6
7
8
9
10
11
12
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);
|