1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-07 02:42:48 +03:00

Work around an issue with the WINSCW compiler. (CVS 5671)

FossilOrigin-Name: e333c3f4c3629dba05b58318e2cd0514843e5394
This commit is contained in:
drh
2008-09-03 17:11:16 +00:00
parent cc91e7f83e
commit 106cee5498
4 changed files with 12 additions and 12 deletions

View File

@@ -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]);