aboutsummaryrefslogtreecommitdiff
path: root/src/util.c
diff options
context:
space:
mode:
authordrh <>2023-07-08 17:42:24 +0000
committerdrh <>2023-07-08 17:42:24 +0000
commit4c40b7b819bed28a63a04eed32882ee46bc826fc (patch)
treeb00319119e990ed8ec1a6636bf9205a22f3eae1f /src/util.c
parentbc532ae15fa1a1cd75f6042fa476bbe2c35c98f6 (diff)
downloadsqlite-4c40b7b819bed28a63a04eed32882ee46bc826fc.tar.gz
sqlite-4c40b7b819bed28a63a04eed32882ee46bc826fc.zip
Always use the "LL" suffix on 64-bit integer literals.
FossilOrigin-Name: 07d95ed60f0a17ea13b4bc19c2ab2ec9052fedd27c9e1e57a1ec6e3a6470e5b7
Diffstat (limited to 'src/util.c')
-rw-r--r--src/util.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/util.c b/src/util.c
index ce0299706..409482d39 100644
--- a/src/util.c
+++ b/src/util.c
@@ -405,11 +405,11 @@ static void dekkerMul2(volatile double *x, double y, double yy){
double hx, hy;
u64 m;
memcpy(&m, (void*)&x[0], 8);
- m &= 0xfffffffffc000000L;
+ m &= 0xfffffffffc000000LL;
memcpy(&hx, &m, 8);
tx = x[0] - hx;
memcpy(&m, &y, 8);
- m &= 0xfffffffffc000000L;
+ m &= 0xfffffffffc000000LL;
memcpy(&hy, &m, 8);
ty = y - hy;
p = hx*hy;
@@ -963,7 +963,7 @@ void sqlite3FpDecode(FpDecode *p, double r, int iRound, int mxRound){
memcpy(&v,&r,8);
e = v>>52;
if( (e&0x7ff)==0x7ff ){
- p->isSpecial = 1 + (v!=0x7ff0000000000000L);
+ p->isSpecial = 1 + (v!=0x7ff0000000000000LL);
p->n = 0;
p->iDP = 0;
return;