From 7c0a94ce469446d270191a82ceba736d867522d5 Mon Sep 17 00:00:00 2001 From: havoc Date: Tue, 5 Jul 2005 13:12:23 +0000 Subject: [PATCH] use 32bit fs_offset_t on windows (even win64 doesn't support 64bit file offsets on lseek/read/write) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5508 d7cf8633-e32d-0410-b094-e92efae38249 --- fs.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fs.h b/fs.h index 0047c076..b0398d72 100644 --- a/fs.h +++ b/fs.h @@ -31,7 +31,8 @@ typedef struct qfile_s qfile_t; #ifdef WIN32 -typedef _int64 fs_offset_t; +typedef long fs_offset_t; // 32bit +//typedef _int64 fs_offset_t; // 64bit (lots of warnings, and lseek/read/write still don't take 64bit on win64) #else typedef long long fs_offset_t; #endif -- 2.39.2