mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-29 05:11:55 +01:00
Dep/CascLib: Update to ladislav-zezula/CascLib@4c04c6c2bf
This commit is contained in:
@@ -58,7 +58,7 @@ static int InsertFileEntry(
|
||||
// Fill the file entry
|
||||
pFileEntry->EncodingKey = *(PENCODING_KEY)pbEncodingKey;
|
||||
pFileEntry->FileNameHash = CalcFileNameHash(szFileName);
|
||||
pFileEntry->dwFileName = Array_IndexOf(&pRootHandler->FileNames, szFileName);
|
||||
pFileEntry->dwFileName = (DWORD)Array_IndexOf(&pRootHandler->FileNames, szFileName);
|
||||
|
||||
// Insert the file entry to the map
|
||||
assert(Map_FindObject(pRootHandler->pRootMap, &pFileEntry->FileNameHash, NULL) == NULL);
|
||||
@@ -145,7 +145,7 @@ int RootHandler_CreateOverwatch(TCascStorage * hs, LPBYTE pbRootFile, DWORD cbRo
|
||||
size_t nLength;
|
||||
char szOneLine[0x200];
|
||||
char szFileName[MAX_PATH+1];
|
||||
DWORD dwFileCountMax = hs->pEncodingMap->TableSize;
|
||||
DWORD dwFileCountMax = (DWORD)hs->pEncodingMap->TableSize;
|
||||
int nFileNameIndex;
|
||||
int nError = ERROR_SUCCESS;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user