mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
Do not use const char * to add data to crypto hash
method is deprecated Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com> fix qbyte Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
parent
00b616ba9d
commit
0da3c6d3b9
@ -170,7 +170,7 @@ bool ChecksumCalculator::addChunk(const QByteArray &chunk, const qint64 size)
|
||||
} else {
|
||||
Q_ASSERT(_cryptographicHash);
|
||||
if (_cryptographicHash) {
|
||||
_cryptographicHash->addData(chunk.data(), size);
|
||||
_cryptographicHash->addData(chunk);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user