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

Unified Diff: third_party/sqlite/src/ext/misc/percentile.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/ext/misc/memvfs.c ('k') | third_party/sqlite/src/ext/misc/regexp.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/sqlite/src/ext/misc/percentile.c
diff --git a/third_party/sqlite/src/ext/misc/percentile.c b/third_party/sqlite/src/ext/misc/percentile.c
index 74a4c9d12b45a12477cde8c131698760d469819c..a5d7e84913a9ce9f84942e2784b8fbe74b884428 100644
--- a/third_party/sqlite/src/ext/misc/percentile.c
+++ b/third_party/sqlite/src/ext/misc/percentile.c
@@ -167,7 +167,7 @@ static void percentStep(sqlite3_context *pCtx, int argc, sqlite3_value **argv){
/*
** Compare to doubles for sorting using qsort()
*/
-static int doubleCmp(const void *pA, const void *pB){
+static int SQLITE_CDECL doubleCmp(const void *pA, const void *pB){
double a = *(double*)pA;
double b = *(double*)pB;
if( a==b ) return 0;
« no previous file with comments | « third_party/sqlite/src/ext/misc/memvfs.c ('k') | third_party/sqlite/src/ext/misc/regexp.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698