aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/SetTimePacket.cpp
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/SetTimePacket.cpp
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/SetTimePacket.cpp')
-rw-r--r--Minecraft.World/SetTimePacket.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Minecraft.World/SetTimePacket.cpp b/Minecraft.World/SetTimePacket.cpp
index 2f707970..1f0701eb 100644
--- a/Minecraft.World/SetTimePacket.cpp
+++ b/Minecraft.World/SetTimePacket.cpp
@@ -6,12 +6,12 @@
-SetTimePacket::SetTimePacket()
+SetTimePacket::SetTimePacket()
{
time = 0;
}
-SetTimePacket::SetTimePacket(__int64 time)
+SetTimePacket::SetTimePacket(int64_t time)
{
this->time = time;
}
@@ -21,7 +21,7 @@ void SetTimePacket::read(DataInputStream *dis) //throws IOException
time = dis->readLong();
}
-void SetTimePacket::write(DataOutputStream *dos) //throws IOException
+void SetTimePacket::write(DataOutputStream *dos) //throws IOException
{
dos->writeLong(time);
}