From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp43.i.mail.ru (smtp43.i.mail.ru [94.100.177.103]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id 6DB714429E1 for ; Mon, 29 Jun 2020 10:37:29 +0300 (MSK) References: <20200626144410.28159-1-k.sosnin@tarantool.org> From: Serge Petrenko Message-ID: Date: Mon, 29 Jun 2020 10:37:27 +0300 MIME-Version: 1.0 In-Reply-To: <20200626144410.28159-1-k.sosnin@tarantool.org> Content-Type: text/plain; charset="utf-8"; format="flowed" Content-Transfer-Encoding: 8bit Content-Language: en-GB Subject: Re: [Tarantool-patches] [PATCH] Fix typo in decNumberToUInt64 List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Chris Sosnin Cc: tarantool-patches@dev.tarantool.org, v.shpilevoy@tarantool.org 26.06.2020 17:44, Chris Sosnin пишет: > --- > branch:https://github.com/tarantool/decNumber/tree/ksosnin/utilities-for-sql > > also added this to the bumbed version here: > https://github.com/tarantool/tarantool/tree/ksosnin/gh-4415-dec-utils > > decNumber.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/decNumber.c b/decNumber.c > index ec9af21..5ecf4b1 100644 > --- a/decNumber.c > +++ b/decNumber.c > @@ -488,7 +488,7 @@ uLong decNumberToUInt64(const decNumber *dn, decContext *set) { > uLong hi=0, lo; > up=dn->lsu; > lo=*up; > - #if DECDPUNL>1 > + #if DECDPUN>1 > hi=lo/10; > lo=lo%10; > #endif Hi! Thanks for  the patch! LGTM. -- Serge Petrenko