Fiexed codeql warning
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
parent
a7029a9e53
commit
0b87e4c03b
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user