aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.Client/StringTable.cpp
diff options
context:
space:
mode:
authorvoid_17 <heroerror3@gmail.com>2026-03-02 15:53:32 +0700
committervoid_17 <heroerror3@gmail.com>2026-03-02 15:53:32 +0700
commitd63f79325f85e014361eb8cf1e41eaebedb1ae71 (patch)
treed9f28714afd516bc2450f33b0a77c5e05ff4de90 /Minecraft.Client/StringTable.cpp
parentd6ec138710461294c3ffd2723bc8a9f212d3471f (diff)
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
Diffstat (limited to 'Minecraft.Client/StringTable.cpp')
-rw-r--r--Minecraft.Client/StringTable.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/Minecraft.Client/StringTable.cpp b/Minecraft.Client/StringTable.cpp
index b0c46a7b..9920a8f2 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 bytesToSkip = 0;
+ int64_t 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();
}