mirror of
https://github.com/redstrate/Astra.git
synced 2025-04-21 20:27:45 +00:00
Fix typo in Patcher assert
This commit is contained in:
parent
94ee8fa838
commit
2ab5a85741
1 changed files with 1 additions and 1 deletions
|
@ -168,7 +168,7 @@ void Patcher::processPatch(const QueuedPatch &patch)
|
||||||
|
|
||||||
qDebug(ASTRA_PATCHER) << "Installing" << patch.path;
|
qDebug(ASTRA_PATCHER) << "Installing" << patch.path;
|
||||||
|
|
||||||
Q_ASSERT_X(patch.length == f.size(), "Patcher", "Patch length does not match sizeQ!");
|
Q_ASSERT_X(patch.length == f.size(), "Patcher", "Patch length does not match size!");
|
||||||
|
|
||||||
const int parts = std::ceil(static_cast<double>(patch.length) / static_cast<double>(patch.hashBlockSize));
|
const int parts = std::ceil(static_cast<double>(patch.length) / static_cast<double>(patch.hashBlockSize));
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue