mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-05-12 12:13:51 +00:00
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
This commit is contained in:
parent
d6ec138710
commit
d63f79325f
308 changed files with 5371 additions and 5379 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue