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:
void_17
2026-03-02 15:53:32 +07:00
parent d6ec138710
commit d63f79325f
308 changed files with 5371 additions and 5379 deletions

View File

@@ -4,10 +4,10 @@
class LongTag : public Tag
{
public:
__int64 data;
int64_t data;
LongTag(const wstring &name) : Tag(name) {}
LongTag(const wstring &name, __int64 data) : Tag(name) {this->data = data; }
LongTag(const wstring &name, int64_t data) : Tag(name) {this->data = data; }
void write(DataOutput *dos) { dos->writeLong(data); }
void load(DataInput *dis) { data = dis->readLong(); }