mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-06-12 23:44:46 +00:00
TU19: merge Minecraft.World/Level
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
#include "ZoneIO.h"
|
||||
|
||||
namespace {
|
||||
bool SeekFile(std::FILE* file, __int64 offset) {
|
||||
bool SeekFile(std::FILE* file, int64_t offset) {
|
||||
#if defined(_WIN32)
|
||||
return _fseeki64(file, offset, SEEK_SET) == 0;
|
||||
#else
|
||||
@@ -12,7 +12,7 @@ bool SeekFile(std::FILE* file, __int64 offset) {
|
||||
}
|
||||
} // namespace
|
||||
|
||||
ZoneIo::ZoneIo(std::FILE* channel, __int64 pos) {
|
||||
ZoneIo::ZoneIo(std::FILE* channel, int64_t pos) {
|
||||
this->channel = channel;
|
||||
this->pos = pos;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user