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:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user