aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/RegionFile.h
diff options
context:
space:
mode:
authorvoid_17 <heroerror3@gmail.com>2026-03-02 15:53:32 +0700
committervoid_17 <heroerror3@gmail.com>2026-03-02 15:53:32 +0700
commitd63f79325f85e014361eb8cf1e41eaebedb1ae71 (patch)
treed9f28714afd516bc2450f33b0a77c5e05ff4de90 /Minecraft.World/RegionFile.h
parentd6ec138710461294c3ffd2723bc8a9f212d3471f (diff)
Get rid of MSVC's __int64
Use either int64_t, uint64_t or long long and unsigned long long, defined as per C++11 standard
Diffstat (limited to 'Minecraft.World/RegionFile.h')
-rw-r--r--Minecraft.World/RegionFile.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Minecraft.World/RegionFile.h b/Minecraft.World/RegionFile.h
index 0717c8c2..520ca6a1 100644
--- a/Minecraft.World/RegionFile.h
+++ b/Minecraft.World/RegionFile.h
@@ -16,7 +16,7 @@ private:
static const int VERSION_GZIP = 1;
static const int VERSION_DEFLATE = 2;
static const int VERSION_XBOX = 3;
-
+
static const int SECTOR_BYTES = 4096;
static const int SECTOR_INTS = SECTOR_BYTES / 4;
@@ -31,7 +31,7 @@ private:
int *chunkTimestamps;
vector<bool> *sectorFree;
int sizeDelta;
- __int64 _lastModified;
+ int64_t _lastModified;
bool m_bIsEmpty; // 4J added
public:
@@ -39,7 +39,7 @@ public:
~RegionFile();
/* the modification date of the region file when it was first opened */
- __int64 lastModified();
+ int64_t lastModified();
/* gets how much the region file has grown since it was last checked */
int getSizeDelta();