aboutsummaryrefslogtreecommitdiff
path: root/tool/logest.c
diff options
context:
space:
mode:
Diffstat (limited to 'tool/logest.c')
-rw-r--r--tool/logest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/logest.c b/tool/logest.c
index 580a3a6f9..d916b43d3 100644
--- a/tool/logest.c
+++ b/tool/logest.c
@@ -75,7 +75,7 @@ static sqlite3_uint64 logEstToInt(LogEst x){
x /= 10;
if( n>=5 ) n -= 2;
else if( n>=1 ) n -= 1;
- if( x>60 ) return ((sqlite3_uint64)0xffffffff)<<32 + 0xffffffff;
+ if( x>60 ) return (((sqlite3_uint64)0xffffffff)<<32)+(sqlite3_uint64)0xffffffff;
if( x>=3 ) return (n+8)<<(x-3);
return (n+8)>>(3-x);
}