From d57b58849bda868f2463d38cc636f01af919316c Mon Sep 17 00:00:00 2001 From: Shauren Date: Tue, 5 Sep 2023 00:10:35 +0200 Subject: Dep/CascLib: Update to ladislav-zezula/CascLib@5c60050770767f2e606f6fec0c35beb8b9b00c60 --- dep/CascLib/src/CascRootFile_Diablo3.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dep/CascLib/src/CascRootFile_Diablo3.cpp') diff --git a/dep/CascLib/src/CascRootFile_Diablo3.cpp b/dep/CascLib/src/CascRootFile_Diablo3.cpp index c1d09c3ab23..2e8a22c3b6e 100644 --- a/dep/CascLib/src/CascRootFile_Diablo3.cpp +++ b/dep/CascLib/src/CascRootFile_Diablo3.cpp @@ -264,7 +264,7 @@ struct TDiabloRoot : public TFileTreeRoot return ERROR_BAD_FORMAT; // Capture the array of DIABLO3_ASSET_ENTRY - pbDirectory = CaptureArray(pbDirectory, pbDataEnd, &DirHeader.pbAssetEntries, DIABLO3_ASSET_ENTRY, DirHeader.dwAssetEntries); + pbDirectory = CaptureArrayAsByte(pbDirectory, pbDataEnd, &DirHeader.pbAssetEntries, DirHeader.dwAssetEntries); if(pbDirectory == NULL) return ERROR_BAD_FORMAT; @@ -274,7 +274,7 @@ struct TDiabloRoot : public TFileTreeRoot return ERROR_BAD_FORMAT; // Capture the array of DIABLO3_ASSETIDX_ENTRY - pbDirectory = CaptureArray(pbDirectory, pbDataEnd, &DirHeader.pbAssetIdxEntries, DIABLO3_ASSETIDX_ENTRY, DirHeader.dwAssetIdxEntries); + pbDirectory = CaptureArrayAsByte(pbDirectory, pbDataEnd, &DirHeader.pbAssetIdxEntries, DirHeader.dwAssetIdxEntries); if(pbDirectory == NULL) return ERROR_BAD_FORMAT; } -- cgit v1.2.3