From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp46.i.mail.ru (smtp46.i.mail.ru [94.100.177.106]) (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 631AE42EF5C for ; Fri, 26 Jun 2020 17:44:22 +0300 (MSK) From: Chris Sosnin Date: Fri, 26 Jun 2020 17:44:10 +0300 Message-Id: <20200626144410.28159-1-k.sosnin@tarantool.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [Tarantool-patches] [PATCH] Fix typo in decNumberToUInt64 List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: tarantool-patches@dev.tarantool.org, sergepetrenko@tarantool.org, v.shpilevoy@tarantool.org --- 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)