From b9a2951901dac21b08589c9d8b4a7eae78757726 Mon Sep 17 00:00:00 2001 From: void_17 Date: Mon, 2 Mar 2026 17:39:35 +0700 Subject: Revert "Get rid of MSVC's __int64" This reverts commit d63f79325f85e014361eb8cf1e41eaebedb1ae71. --- Minecraft.Client/StringTable.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'Minecraft.Client/StringTable.cpp') diff --git a/Minecraft.Client/StringTable.cpp b/Minecraft.Client/StringTable.cpp index 9920a8f2..b0c46a7b 100644 --- a/Minecraft.Client/StringTable.cpp +++ b/Minecraft.Client/StringTable.cpp @@ -30,12 +30,12 @@ StringTable::StringTable(PBYTE pbData, DWORD dwSize) app.getLocale(locales); bool foundLang = false; - int64_t bytesToSkip = 0; + __int64 bytesToSkip = 0; int dataSize = 0; // for( AUTO_VAR(it_locales, locales.begin()); - it_locales!=locales.end() && (!foundLang); + it_locales!=locales.end() && (!foundLang); it_locales++ ) { @@ -72,8 +72,8 @@ StringTable::StringTable(PBYTE pbData, DWORD dwSize) // Read the language file for the selected language int langVersion = dis2.readInt(); - - isStatic = false; // 4J-JEV: Versions 1 and up could use + + isStatic = false; // 4J-JEV: Versions 1 and up could use if (langVersion > 0) // integers rather than wstrings as keys. isStatic = dis2.readBoolean(); @@ -109,7 +109,7 @@ StringTable::StringTable(PBYTE pbData, DWORD dwSize) isStatic = false; } - + // We can't delete this data in the dtor, so clear the reference bais.reset(); } -- cgit v1.2.3