]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
fs: Use stdint type for fs_offset_t
authorcloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 2 Oct 2020 01:56:46 +0000 (01:56 +0000)
committercloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 2 Oct 2020 01:56:46 +0000 (01:56 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12978 d7cf8633-e32d-0410-b094-e92efae38249

fs.h

diff --git a/fs.h b/fs.h
index 755e5c5046b5722f03c7249c91cf9e9436758824..594c95bf44381e3d7da06b5319151de7939a5271 100644 (file)
--- a/fs.h
+++ b/fs.h
 // ------ Types ------ //
 
 typedef struct qfile_s qfile_t;
-
-#ifdef WIN32
-//typedef long fs_offset_t; // 32bit
-typedef __int64 fs_offset_t; ///< 64bit (lots of warnings, and read/write still don't take 64bit on win64)
-#else
-typedef long long fs_offset_t;
-#endif
-
-
+typedef int64_t fs_offset_t;
 
 // ------ Variables ------ //