diff options
author | drh <drh@noemail.net> | 2008-12-10 21:19:56 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2008-12-10 21:19:56 +0000 |
commit | 1bd10f8a0063bcbcb75b99f48e70ae312e145aae (patch) | |
tree | 457c8297dbebfb90dcbb5af39ed8858cfc73be48 /src/date.c | |
parent | 00c586a23885f14f39bb35f7c6167f0bdc62f391 (diff) | |
download | sqlite-1bd10f8a0063bcbcb75b99f48e70ae312e145aae.tar.gz sqlite-1bd10f8a0063bcbcb75b99f48e70ae312e145aae.zip |
Additional work at eliminating silly compiler warnings. (CVS 6010)
FossilOrigin-Name: ea01d43788a75e39c7f03c22681d1a338d52cf0e
Diffstat (limited to 'src/date.c')
-rw-r--r-- | src/date.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/date.c b/src/date.c index 968478eb8..cb38747ee 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.96 2008/12/10 19:26:22 drh Exp $ +** $Id: date.c,v 1.97 2008/12/10 21:19:57 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 @@ -522,7 +522,7 @@ static int parseModifier(const char *zMod, DateTime *p){ char *z, zBuf[30]; z = zBuf; for(n=0; n<ArraySize(zBuf)-1 && zMod[n]; n++){ - z[n] = tolower(zMod[n]); + z[n] = (char)sqlite3UpperToLower[(u8)zMod[n]]; } z[n] = 0; switch( z[0] ){ |