[Tarantool-patches] [PATCH] Fix typo in decNumberToUInt64

Serge Petrenko sergepetrenko at tarantool.org
Mon Jun 29 10:37:27 MSK 2020


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



More information about the Tarantool-patches mailing list