From: Serge Petrenko <sergepetrenko@tarantool.org>
To: Chris Sosnin <k.sosnin@tarantool.org>
Cc: tarantool-patches@dev.tarantool.org, v.shpilevoy@tarantool.org
Subject: Re: [Tarantool-patches] [PATCH] Fix typo in decNumberToUInt64
Date: Mon, 29 Jun 2020 10:37:27 +0300 [thread overview]
Message-ID: <b7a47849-543f-646e-99b9-516503a3e521@tarantool.org> (raw)
In-Reply-To: <20200626144410.28159-1-k.sosnin@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
prev parent reply other threads:[~2020-06-29 7:37 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-26 14:44 Chris Sosnin
2020-06-28 16:39 ` Vladislav Shpilevoy
2020-06-29 7:37 ` Serge Petrenko [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=b7a47849-543f-646e-99b9-516503a3e521@tarantool.org \
--to=sergepetrenko@tarantool.org \
--cc=k.sosnin@tarantool.org \
--cc=tarantool-patches@dev.tarantool.org \
--cc=v.shpilevoy@tarantool.org \
--subject='Re: [Tarantool-patches] [PATCH] Fix typo in decNumberToUInt64' \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox