diff options
author | drh <drh@noemail.net> | 2007-09-20 14:39:23 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2007-09-20 14:39:23 +0000 |
commit | c51250a56b0023bbaf83bae46a930bd041ac687f (patch) | |
tree | 0ae7838bf481b711437c46807ed9bcb83270a46c /src | |
parent | 8a07c7a414a8e6f13f1ada779a9d39ad32a812f9 (diff) | |
download | sqlite-c51250a56b0023bbaf83bae46a930bd041ac687f.tar.gz sqlite-c51250a56b0023bbaf83bae46a930bd041ac687f.zip |
Replace "i64" with "sqlite3_int64" in the w32 VFS. (CVS 4441)
FossilOrigin-Name: 138d3fcc5a74eb570107ae1299184a318b5417df
Diffstat (limited to 'src')
-rw-r--r-- | src/os_win.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/os_win.c b/src/os_win.c index 4eac10b86..bcb1c6ec2 100644 --- a/src/os_win.c +++ b/src/os_win.c @@ -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; |