aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/ByteArrayInputStream.cpp
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/ByteArrayInputStream.cpp
parent119bff351450ea16ffda550b6e0f67379b29f708 (diff)
Revert "Get rid of MSVC's __int64"
This reverts commit d63f79325f85e014361eb8cf1e41eaebedb1ae71.
Diffstat (limited to 'Minecraft.World/ByteArrayInputStream.cpp')
-rw-r--r--Minecraft.World/ByteArrayInputStream.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Minecraft.World/ByteArrayInputStream.cpp b/Minecraft.World/ByteArrayInputStream.cpp
index b0167300..394bda14 100644
--- a/Minecraft.World/ByteArrayInputStream.cpp
+++ b/Minecraft.World/ByteArrayInputStream.cpp
@@ -51,7 +51,7 @@ int ByteArrayInputStream::read()
//
//The read(b) method for class InputStream has the same effect as:
//
-// read(b, 0, b.length)
+// read(b, 0, b.length)
//Parameters:
//b - the buffer into which the data is read.
//Returns:
@@ -100,7 +100,7 @@ void ByteArrayInputStream::close()
//n - the number of bytes to be skipped.
//Returns:
//the actual number of bytes skipped.
-int64_t ByteArrayInputStream::skip(int64_t n)
+__int64 ByteArrayInputStream::skip(__int64 n)
{
int newPos = pos + n;