diff options
Diffstat (limited to 'StormLib/src/SFilePatchArchives.cpp')
| -rw-r--r-- | StormLib/src/SFilePatchArchives.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/StormLib/src/SFilePatchArchives.cpp b/StormLib/src/SFilePatchArchives.cpp index d8c104f7c..03d567441 100644 --- a/StormLib/src/SFilePatchArchives.cpp +++ b/StormLib/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 |
