diff options
author | drh <drh@noemail.net> | 2008-09-03 17:11:16 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2008-09-03 17:11:16 +0000 |
commit | 106cee5498ae692a1a45c76f882f481172a3dbc2 (patch) | |
tree | a8318cc91e5b92aa745a108b7543e82313118609 /src | |
parent | cc91e7f83e1b77586cec218531f62369a5d005df (diff) | |
download | sqlite-106cee5498ae692a1a45c76f882f481172a3dbc2.tar.gz sqlite-106cee5498ae692a1a45c76f882f481172a3dbc2.zip |
Work around an issue with the WINSCW compiler. (CVS 5671)
FossilOrigin-Name: e333c3f4c3629dba05b58318e2cd0514843e5394
Diffstat (limited to 'src')
-rw-r--r-- | src/date.c | 4 | ||||
-rw-r--r-- | src/func.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/date.c b/src/date.c index 53fe4a1e1..c93b8e14a 100644 --- a/src/date.c +++ b/src/date.c @@ -16,7 +16,7 @@ ** sqlite3RegisterDateTimeFunctions() found at the bottom of the file. ** All other code has file scope. ** -** $Id: date.c,v 1.89 2008/09/01 18:34:20 danielk1977 Exp $ +** $Id: date.c,v 1.90 2008/09/03 17:11:16 drh Exp $ ** ** SQLite processes all times and dates as Julian Day numbers. The ** dates and times are stored as the number of days since noon @@ -1071,7 +1071,7 @@ void sqlite3RegisterDateTimeFunctions(void){ }; int i; FuncDefHash *pHash = &GLOBAL(FuncDefHash, sqlite3GlobalFunctions); - FuncDef *aFunc = &GLOBAL(FuncDef, aDateTimeFuncs); + FuncDef *aFunc = (FuncDef*)&GLOBAL(FuncDef, aDateTimeFuncs); for(i=0; i<ArraySize(aDateTimeFuncs); i++){ sqlite3FuncDefInsert(pHash, &aFunc[i]); diff --git a/src/func.c b/src/func.c index 425020cd4..794950518 100644 --- a/src/func.c +++ b/src/func.c @@ -16,7 +16,7 @@ ** sqliteRegisterBuildinFunctions() found at the bottom of the file. ** All other code has file scope. ** -** $Id: func.c,v 1.202 2008/09/02 15:44:09 danielk1977 Exp $ +** $Id: func.c,v 1.203 2008/09/03 17:11:16 drh Exp $ */ #include "sqliteInt.h" #include <ctype.h> @@ -1376,7 +1376,7 @@ void sqlite3RegisterGlobalFunctions(void){ int i; FuncDefHash *pHash = &GLOBAL(FuncDefHash, sqlite3GlobalFunctions); - FuncDef *aFunc = &GLOBAL(FuncDef, aBuiltinFunc); + FuncDef *aFunc = (FuncDef*)&GLOBAL(FuncDef, aBuiltinFunc); for(i=0; i<ArraySize(aBuiltinFunc); i++){ sqlite3FuncDefInsert(pHash, &aFunc[i]); |