1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-15 11:41:13 +03:00

Replace "i64" with "sqlite3_int64" in the w32 VFS. (CVS 4441)

FossilOrigin-Name: 138d3fcc5a74eb570107ae1299184a318b5417df
This commit is contained in:
drh
2007-09-20 14:39:23 +00:00
parent 8a07c7a414
commit c51250a56b
3 changed files with 9 additions and 9 deletions

View File

@@ -290,7 +290,7 @@ struct tm *__cdecl localtime(const time_t *t)
static struct tm y;
FILETIME uTm, lTm;
SYSTEMTIME pTm;
i64 t64;
sqlite3_int64 t64;
t64 = *t;
t64 = (t64 + 11644473600)*10000000;
uTm.dwLowDateTime = t64 & 0xFFFFFFFF;
@@ -700,7 +700,7 @@ static int winWrite(
/*
** Truncate an open file to a specified size
*/
static int winTruncate(sqlite3_file *id, i64 nByte){
static int winTruncate(sqlite3_file *id, sqlite3_int64 nByte){
LONG upperBits = (nByte>>32) & 0x7fffffff;
LONG lowerBits = nByte & 0xffffffff;
winFile *pFile = (winFile*)id;