Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(216)

Unified Diff: third_party/sqlite/src/tool/logest.c

Issue 2751253002: [sql] Import SQLite 3.17.0. (Closed)
Patch Set: also clang on Linux i386 Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/sqlite/src/tool/libvers.c ('k') | third_party/sqlite/src/tool/max-limits.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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]!='-' ){
« no previous file with comments | « third_party/sqlite/src/tool/libvers.c ('k') | third_party/sqlite/src/tool/max-limits.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698