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

Chris Sosnin k.sosnin at tarantool.org
Fri Jun 26 17:44:10 MSK 2020


---
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)



More information about the Tarantool-patches mailing list