From: cloudwalk Date: Fri, 2 Oct 2020 01:56:46 +0000 (+0000) Subject: fs: Use stdint type for fs_offset_t X-Git-Url: https://git.xonotic.org/?a=commitdiff_plain;h=e986019c2a74207ee993591d021e563457bafef1;p=xonotic%2Fdarkplaces.git fs: Use stdint type for fs_offset_t git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12978 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/fs.h b/fs.h index 755e5c50..594c95bf 100644 --- a/fs.h +++ b/fs.h @@ -34,15 +34,7 @@ // ------ 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 ------ //