aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/RegionFile.h
diff options
context:
space:
mode:
authorvoid_17 <heroerror3@gmail.com>2026-03-02 17:39:35 +0700
committervoid_17 <heroerror3@gmail.com>2026-03-02 17:39:35 +0700
commitb9a2951901dac21b08589c9d8b4a7eae78757726 (patch)
tree6b750cbdde9d2bd2aeaec9880ac7db62e9356745 /Minecraft.World/RegionFile.h
parent119bff351450ea16ffda550b6e0f67379b29f708 (diff)
Revert "Get rid of MSVC's __int64"
This reverts commit d63f79325f85e014361eb8cf1e41eaebedb1ae71.
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 520ca6a1..0717c8c2 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_t _lastModified;
+ __int64 _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_t lastModified();
+ __int64 lastModified();
/* gets how much the region file has grown since it was last checked */
int getSizeDelta();