Skip to content
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.

Commit

Permalink
Fix extraction of the 7z file
Browse files Browse the repository at this point in the history
  • Loading branch information
Hamcha committed Jun 19, 2016
1 parent 7c63982 commit 73c396c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/release.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ bool releaseGetPayload(const PayloadType payloadType, const ReleaseVer& release,
offset = 0;
} else {
SzArchive archive(fileData, fileSize);
archive.extractFile(payloadPath, payloadData, offset, payloadSize);
archive.extractFile(payloadPath, payloadData, payloadSize, offset);
}
} catch (const std::runtime_error& e) {
logPrintf(" [ERR]\nFATAL: %s", e.what());
Expand Down

0 comments on commit 73c396c

Please sign in to comment.