Tarantool development patches archive
 help / color / mirror / Atom feed
From: Chris Sosnin <k.sosnin@tarantool.org>
To: tarantool-patches@dev.tarantool.org, sergepetrenko@tarantool.org,
	v.shpilevoy@tarantool.org
Subject: [Tarantool-patches] [PATCH] Fix typo in decNumberToUInt64
Date: Fri, 26 Jun 2020 17:44:10 +0300	[thread overview]
Message-ID: <20200626144410.28159-1-k.sosnin@tarantool.org> (raw)

---
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
-- 
2.21.1 (Apple Git-122.3)

             reply	other threads:[~2020-06-26 14:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-26 14:44 Chris Sosnin [this message]
2020-06-28 16:39 ` Vladislav Shpilevoy
2020-06-29  7:37 ` Serge Petrenko

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=20200626144410.28159-1-k.sosnin@tarantool.org \
    --to=k.sosnin@tarantool.org \
    --cc=sergepetrenko@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