aboutsummaryrefslogtreecommitdiff
path: root/src/sqliteInt.h
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2017-07-24 14:44:15 +0000
committerdrh <drh@noemail.net>2017-07-24 14:44:15 +0000
commitcaf8cc1b4b2c0d13bffa04bcccd3790f803afb15 (patch)
tree6d45c097ce7c26bb356791fa66721d1625629cce /src/sqliteInt.h
parent07c3a1a358a6482ca51f3d0c32a0c49c8558a842 (diff)
downloadsqlite-caf8cc1b4b2c0d13bffa04bcccd3790f803afb15.tar.gz
sqlite-caf8cc1b4b2c0d13bffa04bcccd3790f803afb15.zip
Compiler warning fix associated with date/time functions.
FossilOrigin-Name: a98f07d942f0b8cc15da57b84e6340efae72ff19516fa04624242240af43a697
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r--src/sqliteInt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h
index e44c733b1..20e2af393 100644
--- a/src/sqliteInt.h
+++ b/src/sqliteInt.h
@@ -1662,7 +1662,7 @@ struct FuncDestructor {
0, 0, xFunc, 0, #zName, {0} }
#define PURE_DATE(zName, nArg, iArg, bNC, xFunc) \
{nArg, SQLITE_FUNC_SLOCHNG|SQLITE_UTF8|SQLITE_FUNC_CONSTANT, \
- (void*)xFunc, 0, xFunc, 0, #zName, {0} }
+ (void*)&sqlite3Config, 0, xFunc, 0, #zName, {0} }
#define FUNCTION2(zName, nArg, iArg, bNC, xFunc, extraFlags) \
{nArg,SQLITE_FUNC_CONSTANT|SQLITE_UTF8|(bNC*SQLITE_FUNC_NEEDCOLL)|extraFlags,\
SQLITE_INT_TO_PTR(iArg), 0, xFunc, 0, #zName, {0} }