diff options
| author | void_17 <heroerror3@gmail.com> | 2026-03-02 17:39:35 +0700 |
|---|---|---|
| committer | void_17 <heroerror3@gmail.com> | 2026-03-02 17:39:35 +0700 |
| commit | b9a2951901dac21b08589c9d8b4a7eae78757726 (patch) | |
| tree | 6b750cbdde9d2bd2aeaec9880ac7db62e9356745 /Minecraft.Client/StringTable.cpp | |
| parent | 119bff351450ea16ffda550b6e0f67379b29f708 (diff) | |
Revert "Get rid of MSVC's __int64"
This reverts commit d63f79325f85e014361eb8cf1e41eaebedb1ae71.
Diffstat (limited to 'Minecraft.Client/StringTable.cpp')
| -rw-r--r-- | Minecraft.Client/StringTable.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
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(); } |
