diff options
author | Ladislav Zezula <zezula@volny.cz> | 2022-03-28 07:41:30 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-28 07:41:30 +0200 |
commit | 6ce383a2fa1ff18c32b32347a01f36173699da6c (patch) | |
tree | 707386a3277beaf1a4be3f8be875c9f11168f89d /src/SFilePatchArchives.cpp | |
parent | 5f6477c7f93fddf3a61c5166f661a8bb9f596730 (diff) | |
parent | d1b47ab454e9f20589c6b47c78e5875e19888cdf (diff) |
Merge pull request #249 from GaryOderNichts/big-endian-fixes
Hello, thank you for the bug fixes.
Diffstat (limited to 'src/SFilePatchArchives.cpp')
-rw-r--r-- | src/SFilePatchArchives.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SFilePatchArchives.cpp b/src/SFilePatchArchives.cpp index 89f05a0..e5fe32b 100644 --- a/src/SFilePatchArchives.cpp +++ b/src/SFilePatchArchives.cpp @@ -480,7 +480,7 @@ static bool IsMatchingPatchFile( {
// Load the patch header
SFileReadFile(hFile, &PatchHeader, sizeof(MPQ_PATCH_HEADER), &dwTransferred, NULL);
- BSWAP_ARRAY32_UNSIGNED(pPatchHeader, sizeof(DWORD) * 6);
+ BSWAP_ARRAY32_UNSIGNED(&PatchHeader, sizeof(DWORD) * 6);
// If the file contains an incremental patch,
// compare the "MD5 before patching" with the base file MD5
|