aboutsummaryrefslogtreecommitdiff
path: root/src/engine/core.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/core.cpp')
-rw-r--r--src/engine/core.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/engine/core.cpp b/src/engine/core.cpp
index 98aa943e..baba55f6 100644
--- a/src/engine/core.cpp
+++ b/src/engine/core.cpp
@@ -1679,9 +1679,9 @@ static HRESULT DetectPackagePayloadsCached(
1679 if (DirExists(sczCachePath, NULL)) 1679 if (DirExists(sczCachePath, NULL))
1680 { 1680 {
1681 // Check all payloads to see if any exist. 1681 // Check all payloads to see if any exist.
1682 for (DWORD i = 0; i < pPackage->payloads.cPayloads; ++i) 1682 for (DWORD i = 0; i < pPackage->payloads.cItems; ++i)
1683 { 1683 {
1684 BURN_PAYLOAD* pPayload = pPackage->payloads.rgpPayloads[i]; 1684 BURN_PAYLOAD* pPayload = pPackage->payloads.rgItems[i].pPayload;
1685 1685
1686 hr = PathConcat(sczCachePath, pPayload->sczFilePath, &sczPayloadCachePath); 1686 hr = PathConcat(sczCachePath, pPayload->sczFilePath, &sczPayloadCachePath);
1687 ExitOnFailure(hr, "Failed to concat payload cache path."); 1687 ExitOnFailure(hr, "Failed to concat payload cache path.");