diff options
author | drh <> | 2023-07-08 17:42:24 +0000 |
---|---|---|
committer | drh <> | 2023-07-08 17:42:24 +0000 |
commit | 4c40b7b819bed28a63a04eed32882ee46bc826fc (patch) | |
tree | b00319119e990ed8ec1a6636bf9205a22f3eae1f /src/func.c | |
parent | bc532ae15fa1a1cd75f6042fa476bbe2c35c98f6 (diff) | |
download | sqlite-4c40b7b819bed28a63a04eed32882ee46bc826fc.tar.gz sqlite-4c40b7b819bed28a63a04eed32882ee46bc826fc.zip |
Always use the "LL" suffix on 64-bit integer literals.
FossilOrigin-Name: 07d95ed60f0a17ea13b4bc19c2ab2ec9052fedd27c9e1e57a1ec6e3a6470e5b7
Diffstat (limited to 'src/func.c')
-rw-r--r-- | src/func.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/func.c b/src/func.c index d6f3d175f..542d71a23 100644 --- a/src/func.c +++ b/src/func.c @@ -1704,7 +1704,7 @@ static void kahanBabuskaNeumaierStep( ** Add a (possibly large) integer to the running sum. */ static void kahanBabuskaNeumaierStepInt64(volatile SumCtx *pSum, i64 iVal){ - if( iVal<=-4503599627370496 || iVal>=+4503599627370496 ){ + if( iVal<=-4503599627370496LL || iVal>=+4503599627370496LL ){ i64 iBig, iSm; iSm = iVal % 16384; iBig = iVal - iSm; @@ -1722,7 +1722,7 @@ static void kahanBabuskaNeumaierInit( volatile SumCtx *p, i64 iVal ){ - if( iVal<=-4503599627370496 || iVal>=+4503599627370496 ){ + if( iVal<=-4503599627370496LL || iVal>=+4503599627370496LL ){ i64 iSm = iVal % 16384; p->rSum = (double)(iVal - iSm); p->rErr = (double)iSm; |