Fiexed codeql warning

Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
Trial97 2024-03-22 12:29:15 +02:00
parent a7029a9e53
commit 0b87e4c03b
No known key found for this signature in database
GPG Key ID: 55EF5DA53DB36318

View File

@ -94,7 +94,7 @@ union Buffer {
struct Header header;
};
bool readLonglink(QIODevice* in, Buffer buffer, QByteArray& longlink)
bool readLonglink(QIODevice* in, Buffer& buffer, QByteArray& longlink)
{
qint64 n = 0;
qint64 size = strtoll(buffer.header.size, NULL, 8);