mirror of
https://github.com/YACReader/yacreader
synced 2025-05-28 03:10:27 -04:00
typecast comparison from unsigned to int
This commit is contained in:
parent
8879e7abc5
commit
5ad0e293ac
@ -69,7 +69,7 @@ bool YACReaderLocalClient::requestComicInfo(quint64 libraryId, ComicDB & comic,
|
||||
int dataAvailable = 0;
|
||||
QByteArray packageSize;
|
||||
localSocket->waitForReadyRead(1000);
|
||||
while(packageSize.size() < sizeof(quint32) && tries < 20)
|
||||
while(packageSize.size() < (int)sizeof(quint32) && tries < 20)
|
||||
{
|
||||
packageSize.append(localSocket->read(sizeof(quint32) - packageSize.size()));
|
||||
localSocket->waitForReadyRead(100);
|
||||
|
Loading…
Reference in New Issue
Block a user