refactor: nuke __int64/__uint64 in Minecraft.World

This commit is contained in:
Tropical
2026-03-21 17:10:36 -05:00
parent 8036565022
commit 357fca24aa
117 changed files with 251 additions and 251 deletions

View File

@@ -86,7 +86,7 @@ void DataOutputStream::writeByte(uint8_t a) {
// counter written is incremented by 8. Parameters: v - a double value to be
// written.
void DataOutputStream::writeDouble(double a) {
__int64 bits = Double::doubleToLongBits(a);
int64_t bits = Double::doubleToLongBits(a);
writeLong(bits);
// TODO 4J Stu - Error handling?
@@ -122,7 +122,7 @@ void DataOutputStream::writeInt(int a) {
// first. In no exception is thrown, the counter written is incremented by 8.
// Parameters:
// v - a long to be written.
void DataOutputStream::writeLong(__int64 a) {
void DataOutputStream::writeLong(int64_t a) {
stream->write((a >> 56) & 0xff);
stream->write((a >> 48) & 0xff);
stream->write((a >> 40) & 0xff);