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

Fixed some warnings and an assert in the WINCE code when compiling under MSVC.

FossilOrigin-Name: f42ec993ac9d42ca31305f26b09924108c36d9f4
This commit is contained in:
shane
2009-09-10 20:23:30 +00:00
parent 08da4bb16e
commit 11bb41f878
4 changed files with 42 additions and 52 deletions

View File

@@ -448,7 +448,7 @@ static sqlite3_int64 localtimeOffset(DateTime *p){
x.tz = 0;
x.validJD = 0;
computeJD(&x);
t = x.iJD/1000 - 21086676*(i64)10000;
t = (time_t)(x.iJD/1000 - 21086676*(i64)10000);
#ifdef HAVE_LOCALTIME_R
{
struct tm sLocal;