Index: third_party/sqlite/src/tool/logest.c |
diff --git a/third_party/sqlite/src/tool/logest.c b/third_party/sqlite/src/tool/logest.c |
index 347fa68a4f4ee5a4cb72a8748fa7f1a60cbcb022..e936e02cbeefa497c0210922620a0ee605c78c11 100644 |
--- a/third_party/sqlite/src/tool/logest.c |
+++ b/third_party/sqlite/src/tool/logest.c |
@@ -147,7 +147,7 @@ int main(int argc, char **argv){ |
}else if( strcmp(z,"inv")==0 ){ |
if( n>0 ) a[n-1] = -a[n-1]; |
}else if( z[0]=='^' ){ |
- a[n++] = atoi(z+1); |
+ a[n++] = (LogEst)atoi(z+1); |
}else if( isInteger(z) ){ |
a[n++] = logEstFromInteger(atoi(z)); |
}else if( isFloat(z) && z[0]!='-' ){ |