aboutsummaryrefslogtreecommitdiff
path: root/ext/misc/percentile.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2016-07-28 18:55:57 +0000
committerdrh <drh@noemail.net>2016-07-28 18:55:57 +0000
commit3a22fdab9a40e54065b36b48daadf00fcffd4565 (patch)
tree162ae7a09a5698549f3d14e0ad7d87390ca5a4ef /ext/misc/percentile.c
parenta8914faaaa981c87f193eb62477e7ba7d0affeed (diff)
parentc0bebc1dcfe7711b80d3a3333d35c991849785ed (diff)
downloadsqlite-3a22fdab9a40e54065b36b48daadf00fcffd4565.tar.gz
sqlite-3a22fdab9a40e54065b36b48daadf00fcffd4565.zip
Decorate all interfaces with calling convention macros.
FossilOrigin-Name: fd784887e125bf95f4799ad09cbcba6795173487
Diffstat (limited to 'ext/misc/percentile.c')
-rw-r--r--ext/misc/percentile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/misc/percentile.c b/ext/misc/percentile.c
index 74a4c9d12..a5d7e8491 100644
--- a/ext/misc/percentile.c
+++ b/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;