]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - fs.h
use 32bit fs_offset_t on windows (even win64 doesn't support 64bit file offsets on...
[xonotic/darkplaces.git] / fs.h
diff --git a/fs.h b/fs.h
index 0047c0761b1455df77c431c4d5a6849bd65efff1..b0398d722582ccf192cb2500d74e18b78a1beec2 100644 (file)
--- a/fs.h
+++ b/fs.h
@@ -31,7 +31,8 @@
 typedef struct qfile_s qfile_t;
 
 #ifdef WIN32
 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
 #else
 typedef long long fs_offset_t;
 #endif